diff options
author | jhb <jhb@FreeBSD.org> | 2011-04-28 17:44:24 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2011-04-28 17:44:24 +0000 |
commit | 251e6e3d22916c97b47c6ecfe3f1253e430644b7 (patch) | |
tree | b6a2dbde92b8f593e7934726d4903e4a7a2467dc /sys/boot/i386/boot2/Makefile | |
parent | 669f6144cbdee2bcb88b52a47c5256bb35508fbe (diff) | |
download | FreeBSD-src-251e6e3d22916c97b47c6ecfe3f1253e430644b7.zip FreeBSD-src-251e6e3d22916c97b47c6ecfe3f1253e430644b7.tar.gz |
Due to space constraints, the UFS boot2 and boot1 use an evil hack where
boot2 calls back into boot1 to perform disk reads. The ZFS MBR boot blocks
do not have the same space constraints, so remove this hack for ZFS.
While here, remove commented out code to support C/H/S addressing from
zfsldr. The ZFS and GPT bootstraps always just use EDD LBA addressing.
MFC after: 2 weeks
Diffstat (limited to 'sys/boot/i386/boot2/Makefile')
-rw-r--r-- | sys/boot/i386/boot2/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile index d9b91df..64d49ec 100644 --- a/sys/boot/i386/boot2/Makefile +++ b/sys/boot/i386/boot2/Makefile @@ -32,6 +32,7 @@ CFLAGS= -Os \ -mno-align-long-strings \ -mrtd \ -mregparm=3 \ + -DUSE_XREAD \ -D${BOOT2_UFS} \ -DFLAGS=${BOOT_BOOT1_FLAGS} \ -DSIOPRT=${BOOT_COMCONSOLE_PORT} \ |