1# $FreeBSD: head/sys/boot/i386/boot0/Makefile 145515 2005-04-25 17:41:35Z ru $
| 1# $FreeBSD: head/sys/boot/i386/boot0/Makefile 185562 2008-12-02 14:57:48Z luigi $
|
2 3PROG?= boot0 4STRIP= 5BINMODE=${NOBINMODE} 6NO_MAN= 7SRCS= ${PROG}.S 8
| 2 3PROG?= boot0 4STRIP= 5BINMODE=${NOBINMODE} 6NO_MAN= 7SRCS= ${PROG}.S 8
|
9# The default set of flags compiled into boot0. This enables update (writing 10# the modified boot0 back to disk after running so that the selection made is 11# saved), packet mode (detect and use the BIOS EDD extensions if we try to 12# boot past the 1024 cylinder liimt), and booting from all valid slices. 13BOOT_BOOT0_FLAGS?= 0x8f
| 9# Additional options that you can specify with make OPTS="..." 10# (these only apply to boot0.S) 11# 12# -DSIO do I/O using COM1: 13# -DPXE fallback to INT18/PXE with F6 14# -DCHECK_DRIVE enable checking drive number 15# -DONLY_F_KEYS accept only Fx keys in console 16# -DTEST print drive number on entry 17# 18CFLAGS += ${OPTS}
|
14
| 19
|
| 20# Flags used in the boot0.S code: 21# 0x0f all valid partitions enabled. 22# 0x80 'packet', use BIOS EDD (LBA) extensions instead of CHS 23# to read from disk. boot0.S does not check that the extensions 24# are supported, but all modern BIOSes should have them. 25# 0x40 'noupdate', disable writing boot0 back to disk so that 26# the current selection is not preserved across reboots. 27# 0x20 'setdrv', override the drive number supplied by the bios 28# with the one in the boot sector. 29 30# Default boot flags: 31BOOT_BOOT0_FLAGS?= 0xcf 32
|
15# The number of timer ticks to wait for a keypress before assuming the default 16# selection. Since there are 18.2 ticks per second, the default value of 17# 0xb6 (182d) corresponds to 10 seconds. 18BOOT_BOOT0_TICKS?= 0xb6 19 20# The base address that we the boot0 code to to run it. Don't change this 21# unless you are glutton for punishment. 22BOOT_BOOT0_ORG?= 0x600
--- 37 unchanged lines hidden --- | 33# The number of timer ticks to wait for a keypress before assuming the default 34# selection. Since there are 18.2 ticks per second, the default value of 35# 0xb6 (182d) corresponds to 10 seconds. 36BOOT_BOOT0_TICKS?= 0xb6 37 38# The base address that we the boot0 code to to run it. Don't change this 39# unless you are glutton for punishment. 40BOOT_BOOT0_ORG?= 0x600
--- 37 unchanged lines hidden --- |