NetBSD/sys/arch/hpcmips/include
lukem 1c33b4e6a4 Overhaul MBR handling (part 1):
<sys/bootblock.h>:
    *	Added definitions for the Master Boot Record (MBR) used by
	a variety of systems (primarily i386), including the format
	of the BIOS Parameter Block (BPB).
	This information was cribbed from a variety of sources
	including <sys/disklabel_mbr.h> which this is a superset of.

	As part of this, some data structure elements and #defines
	were renamed to be more "namespace friendly" and consistent
	with other bootblocks and MBR documentation.
	Update all uses of the old names to the new names.

<sys/disklabel_mbr.h>:
    *	Deprecated in favor of <sys/bootblock.h> (the latter is more
	"host tool" friendly).

amd64 & i386:
    *	Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to
	be consistent with the naming convention of the msdosfs tools.

    *	Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1
	and it's confusing to have two functionally equivalent bootblocks,
	especially given that "ufs" has multiple meanings (it could be
	a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems).

    *	Rework pbr.S (the first sector of bootxx_*):
	    +	Ensure that BPB (bytes 11..89) and the partition table
		(bytes 446..509) do not contain code.
	    +	Add support for booting from FAT partitions if BOOT_FROM_FAT
		is defined.  (Only set for bootxx_msdos).
	    +	Remove "dummy" partition 3; if people want to installboot(8)
		these to the start of the disk they can use fdisk(8) to
		create a real MBR partition table...
	    +	Compile with TERSE_ERROR so it fits because of the above.
		Whilst this is less user friendly, I feel it's important
		to have a valid partition table and BPB in the MBR/PBR.

    *	Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent
	with other platforms.

    *	Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that
    	we can boot off FAT partitions.

    *	Crank version of /usr/mdec/boot to 3.1, and fix some of the other
	entries in the version file.

installboot(8) (i386):
    *	Read the existing MBR of the filesystem and retain the BIOS
    	Parameter Block (BPB) in bytes 11..89 and the MBR partition
	table in bytes 446..509.  (Previously installboot(8) would
	trash those two sections of the MBR.)

mbrlabel(8):
    *	Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code
	to map the MBR partition type to the NetBSD disklabel type.


Test built "make release" for i386, and new bootblocks verified to work
(even off FAT!).
2003-10-08 04:25:43 +00:00
..
ansi.h
aout_machdep.h
apmvar.h Moved MI APM definitions into dev/apm. 2002-10-14 02:08:37 +00:00
asm.h
autoconf.h
bootinfo.h bootinfo.h, config_hook.h, platid.h are moved to hpc/include 2002-02-01 18:16:03 +00:00
bsd-aout.h
bswap.h
bus_dma_hpcmips.h Added _hpcmips_bd_mem_alloc_range, which was written by Katsuomi Hamajima. 2002-01-06 12:39:55 +00:00
bus_machdep.h
bus_space_hpcmips.h make this compile again. 2001-12-02 10:37:53 +00:00
bus_types.h
bus.h Handle 64bit DMA addresses on PCI for platforms that can (currently only 2003-06-15 23:08:53 +00:00
cdefs.h
config_hook.h bootinfo.h, config_hook.h, platid.h are moved to hpc/include 2002-02-01 18:16:03 +00:00
cpu_counter.h Replace machine/rnd.h with more appropriate name to share it 2003-02-05 13:57:50 +00:00
cpu.h clean up header file. 2002-01-31 17:56:33 +00:00
db_machdep.h
debug.h clean up debug print and configuration. 2002-01-29 18:53:01 +00:00
disklabel.h Overhaul MBR handling (part 1): 2003-10-08 04:25:43 +00:00
ecoff_machdep.h
elf_machdep.h
endian_machdep.h
endian.h
float.h
ieee.h
ieeefp.h
int_const.h
int_fmtio.h
int_limits.h
int_mwgwtypes.h
int_types.h
intr.h obsolete intrcnt[]. 2002-05-15 15:19:54 +00:00
isa_machdep.h A few ISA sound drivers like to share dma channels, and hence deferred 2003-05-09 23:51:25 +00:00
isapnp_machdep.h
kcore.h
kdbparam.h
kloader.h hpcmips support of kloader. 2002-01-29 18:47:25 +00:00
limits.h
loadfile_machdep.h Support for Laser5's L-Card+ Embedded CPU Board 2003-05-01 07:01:58 +00:00
lock.h
locore.h Simplify include files that just include <mips/locore.h>. 2002-06-05 06:18:34 +00:00
Makefile Merge the nathanw_sa branch. 2003-01-17 21:55:23 +00:00
math.h
mcontext.h Merge the nathanw_sa branch. 2003-01-17 21:55:23 +00:00
mips_opcode.h
param.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
pcb.h
pci_machdep.h Let machine-dependent code specify how to enumerate the bus. 2002-05-15 19:23:51 +00:00
platid_generated.h
platid_mask.h
platid.h bootinfo.h, config_hook.h, platid.h are moved to hpc/include 2002-02-01 18:16:03 +00:00
pmap.h
pmc.h Implement pmc(9) -- An interface to hardware performance monitoring 2002-08-07 05:14:47 +00:00
proc.h
profile.h
psl.h
pte.h
ptrace.h
reg.h
regdef.h
regnum.h
reloc.h
setjmp.h
signal.h
stdarg.h
sysconf.h
trap.h
types.h change MAXPARTITIONS to 16. 2002-03-23 03:14:54 +00:00
varargs.h
vmparam.h clean up header file. 2002-01-31 17:56:33 +00:00