- removed unnecessary delay loop after keyboard reset in POST

This commit is contained in:
Volker Ruppert 2002-03-12 18:44:07 +00:00
parent 97bfcd24bc
commit 6c4a3581c7
2 changed files with 6 additions and 11 deletions

Binary file not shown.

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: rombios.c,v 1.37 2002-03-11 00:17:30 cbothamy Exp $
// $Id: rombios.c,v 1.38 2002-03-12 18:43:00 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -995,10 +995,10 @@ Bit16u cdrom_boot();
#endif // BX_ELTORITO_BOOT
static char bios_cvs_version_string[] = "$Revision: 1.37 $";
static char bios_date_string[] = "$Date: 2002-03-11 00:17:30 $";
static char bios_cvs_version_string[] = "$Revision: 1.38 $";
static char bios_date_string[] = "$Date: 2002-03-12 18:43:00 $";
static char CVSID[] = "$Id: rombios.c,v 1.37 2002-03-11 00:17:30 cbothamy Exp $";
static char CVSID[] = "$Id: rombios.c,v 1.38 2002-03-12 18:43:00 vruppert Exp $";
/* Offset to skip the CVS $Id: prefix */
#define bios_version_string (CVSID + 4)
@ -8999,20 +8999,15 @@ post_default_ints:
/* (mch) Keyboard self-test */
mov al, #0xaa
out 0x64, al
kbd_wait1:
kbd_wait:
in al, 0x64
test al, #0x01
jz kbd_wait1
jz kbd_wait
in al, 0x60
cmp al, #0x55
je keyboard_ok
call _keyboard_panic
keyboard_ok:
mov cx, 0x0100
kbd_wait2:
nop
loop kbd_wait2
in al, 0x64 ; read status to clear IRQ
;; mov CMOS Equipment Byte to BDA Equipment Word
mov ax, 0x0410