VirtualBox

Changeset 50166 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Jan 22, 2014 6:21:22 PM (11 years ago)
Author:
vboxsync
Message:

BIOS: Work around insufficient keyboard reset timeout.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/keyboard.c

    r48123 r50166  
    239239    }
    240240
    241     /* Wait for data */
    242     max=0xffff;
    243     while ( ((inb(0x64) & 0x01) == 0) && (--max>0) ) outb(0x80, 0x31);
    244     if (max==0x0) keyboard_panic(31);
     241    /* Wait for reset to complete */
     242    while ( (inb(0x64) & 0x01) == 0 ) outb(0x80, 0x31);
    245243
    246244    if ((inb(0x60) != 0xaa && inb(0x60) != 0xaa)) {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette