summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2000-12-28 12:08:22 +0000
committerPaul Saab <ps@FreeBSD.org>2000-12-28 12:08:22 +0000
commit7991ec8de91e5bbeb08c1fbe69255007cfda67ed (patch)
treea2773419edcd8bed371836063196089e92a58900 /sys
parent80657d34b67e5bea8140a62c8434b8fda5e9e99d (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/i386/btx/btx/Makefile8
-rw-r--r--sys/boot/i386/btx/btx/btx.s2
2 files changed, 9 insertions, 1 deletions
diff --git a/sys/boot/i386/btx/btx/Makefile b/sys/boot/i386/btx/btx/Makefile
index 22b935daf523..d3ead1b889fe 100644
--- a/sys/boot/i386/btx/btx/Makefile
+++ b/sys/boot/i386/btx/btx/Makefile
@@ -6,6 +6,14 @@ M4?= m4
M4FLAGS+= -DPAGING
.endif
+.if defined(BOOT_BTX_NOHANG)
+BOOT_BTX_FLAGS=0x1
+.else
+BOOT_BTX_FLAGS=0x0
+.endif
+
+AFLAGS+= --defsym BTX_FLAGS=${BOOT_BTX_FLAGS}
+
ORG= 0x9000
all: btx
diff --git a/sys/boot/i386/btx/btx/btx.s b/sys/boot/i386/btx/btx/btx.s
index 48729cf9c62d..72ba55567ea1 100644
--- a/sys/boot/i386/btx/btx/btx.s
+++ b/sys/boot/i386/btx/btx/btx.s
@@ -104,7 +104,7 @@ btx_hdr: .byte 0xeb # Machine ID
.ascii "BTX" # Magic
.byte 0x1 # Major version
.byte 0x1 # Minor version
- .byte 0x0 # Flags
+ .byte BTX_FLAGS # Flags
.word PAG_CNT-MEM_ORG>>0xc # Paging control
.word break-start # Text size
.long 0x0 # Entry address