VirtualBox

Changeset 59116 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 14, 2015 2:02:56 PM (9 years ago)
Author:
vboxsync
Message:

BIOS: Only unpause on regular keys, not modifiers.

File:
1 edited

Legend:

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

    r59114 r59116  
    375375    mf2_flags = read_byte(0x0040, 0x18);
    376376    mf2_state = read_byte(0x0040, 0x96);
    377     /* Check if suspend flag set but no E1 prefix (i.e. not Pause). */
    378     if ((mf2_flags & 0x08) && !(shift_flags & 0x01)) {
    379         /* Pause had been pressed. Clear suspend flag and do nothing. */
    380         mf2_flags &= ~0x08;
    381         write_byte(0x0040, 0x18, mf2_flags);
    382         return;
    383     }
    384 
    385377    shift_flags = read_byte(0x0040, 0x17);
    386378    asciicode = 0;
     
    525517
    526518    default:
     519        /* Check if suspend flag set. */
     520        if (mf2_flags & 0x08) {
     521            /* Pause had been pressed. Clear suspend flag and do nothing. */
     522            mf2_flags &= ~0x08;
     523            write_byte(0x0040, 0x18, mf2_flags);
     524            return;
     525        }
     526
    527527        if (scancode & 0x80) {
    528528            /* Set ack/resend flags if appropriate. */
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