diff options
author | rnordier <rnordier@FreeBSD.org> | 2001-05-27 20:15:10 +0000 |
---|---|---|
committer | rnordier <rnordier@FreeBSD.org> | 2001-05-27 20:15:10 +0000 |
commit | 83f67b8f31f7864baf3998922833c641684ff0f0 (patch) | |
tree | 5e714053849b6e51c1e62841d5504b4bfebc3eea /sys/boot/i386 | |
parent | e39caed479d72c771458abfebfce28978b84f0d4 (diff) | |
download | FreeBSD-src-83f67b8f31f7864baf3998922833c641684ff0f0.zip FreeBSD-src-83f67b8f31f7864baf3998922833c641684ff0f0.tar.gz |
Fix reboot buglet when BOOT_BTX_NOHANG is defined.
Submitted by: Umesh Krishnaswamy <umesh@juniper.net>
Diffstat (limited to 'sys/boot/i386')
-rw-r--r-- | sys/boot/i386/btx/btx/btx.S | 2 | ||||
-rw-r--r-- | sys/boot/i386/btx/btx/btx.s | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/btx/btx/btx.S b/sys/boot/i386/btx/btx/btx.S index 334bea6..04bbdca 100644 --- a/sys/boot/i386/btx/btx/btx.S +++ b/sys/boot/i386/btx/btx/btx.S @@ -862,7 +862,7 @@ ifdef(`PAGING',` ') popl %eax # Call call *%eax # program -intx30.1: incb %ss:btx_hdr+0x7 # Flag reboot +intx30.1: orb $0x1,%ss:btx_hdr+0x7 # Flag reboot jmp exit # Exit # # Dump structure [EBX] to [EDI], using format string [ESI]. diff --git a/sys/boot/i386/btx/btx/btx.s b/sys/boot/i386/btx/btx/btx.s index 334bea6..04bbdca 100644 --- a/sys/boot/i386/btx/btx/btx.s +++ b/sys/boot/i386/btx/btx/btx.s @@ -862,7 +862,7 @@ ifdef(`PAGING',` ') popl %eax # Call call *%eax # program -intx30.1: incb %ss:btx_hdr+0x7 # Flag reboot +intx30.1: orb $0x1,%ss:btx_hdr+0x7 # Flag reboot jmp exit # Exit # # Dump structure [EBX] to [EDI], using format string [ESI]. |