From aa4df56dc607b3598a93d69a4aee5d69b3dd2b26 Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Sat, 4 Dec 1999 13:09:26 +0000 Subject: [PATCH] The address 0x472 is used for the SCSI HDD geometry information on PC-98. Therefore, the PC-98 kernel should not modify it. --- sys/amd64/amd64/locore.S | 3 +-- sys/amd64/amd64/locore.s | 3 +-- sys/i386/i386/locore.s | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S index 54ec9b1c56d..ae2a665caf3 100644 --- a/sys/amd64/amd64/locore.S +++ b/sys/amd64/amd64/locore.S @@ -225,10 +225,9 @@ NON_GPROF_ENTRY(btext) movb $1,R(_bdb_exists) 1: #endif -#endif /* PC98 */ - /* Tell the bios to warmboot next time */ movw $0x1234,0x472 +#endif /* PC98 */ /* Set up a real frame in case the double return in newboot is executed. */ pushl %ebp diff --git a/sys/amd64/amd64/locore.s b/sys/amd64/amd64/locore.s index 54ec9b1c56d..ae2a665caf3 100644 --- a/sys/amd64/amd64/locore.s +++ b/sys/amd64/amd64/locore.s @@ -225,10 +225,9 @@ NON_GPROF_ENTRY(btext) movb $1,R(_bdb_exists) 1: #endif -#endif /* PC98 */ - /* Tell the bios to warmboot next time */ movw $0x1234,0x472 +#endif /* PC98 */ /* Set up a real frame in case the double return in newboot is executed. */ pushl %ebp diff --git a/sys/i386/i386/locore.s b/sys/i386/i386/locore.s index 54ec9b1c56d..ae2a665caf3 100644 --- a/sys/i386/i386/locore.s +++ b/sys/i386/i386/locore.s @@ -225,10 +225,9 @@ NON_GPROF_ENTRY(btext) movb $1,R(_bdb_exists) 1: #endif -#endif /* PC98 */ - /* Tell the bios to warmboot next time */ movw $0x1234,0x472 +#endif /* PC98 */ /* Set up a real frame in case the double return in newboot is executed. */ pushl %ebp