Changeset 59116 in vbox for trunk/src/VBox
- Timestamp:
- Dec 14, 2015 2:02:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/keyboard.c
r59114 r59116 375 375 mf2_flags = read_byte(0x0040, 0x18); 376 376 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 385 377 shift_flags = read_byte(0x0040, 0x17); 386 378 asciicode = 0; … … 525 517 526 518 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 527 527 if (scancode & 0x80) { 528 528 /* Set ack/resend flags if appropriate. */
Note:
See TracChangeset
for help on using the changeset viewer.