diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2000-11-05 12:35:41 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2000-11-05 12:35:41 +0000 |
| commit | 64ee4b5b08fda4a1d2f85330695aa132ef38e695 (patch) | |
| tree | 6fe90a41f6f0c7166b9fceb9290f5eff9888fe6e /sys/boot/pc98/btx | |
| parent | 00910f28827a091a19042224907abfcc537f813a (diff) | |
Notes
Diffstat (limited to 'sys/boot/pc98/btx')
| -rw-r--r-- | sys/boot/pc98/btx/btx/Makefile | 9 | ||||
| -rw-r--r-- | sys/boot/pc98/btx/btx/btx.S | 2 | ||||
| -rw-r--r-- | sys/boot/pc98/btx/btx/btx.s | 2 |
3 files changed, 10 insertions, 3 deletions
diff --git a/sys/boot/pc98/btx/btx/Makefile b/sys/boot/pc98/btx/btx/Makefile index fd2967611eee..229963228898 100644 --- a/sys/boot/pc98/btx/btx/Makefile +++ b/sys/boot/pc98/btx/btx/Makefile @@ -6,10 +6,17 @@ M4?= m4 M4FLAGS+= -DPAGING .endif -ORG= 0x9000 +.if defined(BOOT_BTX_NOHANG) +BOOT_BTX_FLAGS=0x1 +.else +BOOT_BTX_FLAGS=0x0 +.endif +AFLAGS+= --defsym BTX_FLAGS=${BOOT_BTX_FLAGS} AFLAGS+= --defsym PC98=1 +ORG= 0x9000 + all: btx btx: btx.o diff --git a/sys/boot/pc98/btx/btx/btx.S b/sys/boot/pc98/btx/btx/btx.S index 14a5b0dd0893..cc8f0f5933cf 100644 --- a/sys/boot/pc98/btx/btx/btx.S +++ b/sys/boot/pc98/btx/btx/btx.S @@ -114,7 +114,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 diff --git a/sys/boot/pc98/btx/btx/btx.s b/sys/boot/pc98/btx/btx/btx.s index 14a5b0dd0893..cc8f0f5933cf 100644 --- a/sys/boot/pc98/btx/btx/btx.s +++ b/sys/boot/pc98/btx/btx/btx.s @@ -114,7 +114,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 |
