VirtualBox

Changeset 36205 in vbox


Ignore:
Timestamp:
Mar 8, 2011 4:22:37 PM (14 years ago)
Author:
vboxsync
Message:

BIOS: Shortened a ridiculously long loop.

File:
1 edited

Legend:

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

    r35351 r36205  
    17841784
    17851785    /* flush incoming keys */
    1786     max=0x2000;
     1786    max=4;
    17871787    while (--max > 0) {
    17881788        outb(0x80, 0x00);
    17891789        if (inb(0x64) & 0x01) {
    17901790            inb(0x60);
    1791             max = 0x2000;
     1791            max = 4;
    17921792            }
    17931793        }
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