summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>2000-08-06 14:35:37 +0000
committerkato <kato@FreeBSD.org>2000-08-06 14:35:37 +0000
commit0353c0fbd4389f3a719b3743f557099b8fe9926f (patch)
tree376bbdad87c7eca0dd4ab7086610f6160a9e7d1f /sys
parent083d60f9beb70ca2efd64bda9f2f4c52b07cbf92 (diff)
downloadFreeBSD-src-0353c0fbd4389f3a719b3743f557099b8fe9926f.zip
FreeBSD-src-0353c0fbd4389f3a719b3743f557099b8fe9926f.tar.gz
- Fixed missing initialization of current device number.
- Fixed comment. Pointed out by: nyan
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/pc98/boot0.5/boot0.5.s2
-rw-r--r--sys/boot/pc98/boot0.5/selector.s1
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/pc98/boot0.5/boot0.5.s b/sys/boot/pc98/boot0.5/boot0.5.s
index 03c05f6..80dbe2a 100644
--- a/sys/boot/pc98/boot0.5/boot0.5.s
+++ b/sys/boot/pc98/boot0.5/boot0.5.s
@@ -125,7 +125,7 @@ key_release:
orw %di, %di
jnz dont_try_default # TAB pressed.
call trydefault
- # NOTREACHED
+ # Default partition not found.
dont_try_default:
call show_usage
call showdevices
diff --git a/sys/boot/pc98/boot0.5/selector.s b/sys/boot/pc98/boot0.5/selector.s
index e4bf0f6..18da488 100644
--- a/sys/boot/pc98/boot0.5/selector.s
+++ b/sys/boot/pc98/boot0.5/selector.s
@@ -417,6 +417,7 @@ bootable_slice:
#
.global selector
selector:
+ movw $0, curdevice # trydefault may change the curdevice.
movw $0, mode
selector_loop:
OpenPOWER on IntegriCloud