VirtualBox

Changeset 59766 in vbox for trunk/src/VBox/Devices/PC/BIOS


Ignore:
Timestamp:
Feb 22, 2016 8:52:18 AM (9 years ago)
Author:
vboxsync
Message:

BIOS: Rudimentary SysRq processing.

File:
1 edited

Legend:

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

    r59116 r59766  
    508508        break;
    509509
     510    case 0x54: /* SysRq press */
     511        if (!(mf2_flags & 0x04)) {  /* If not already down */
     512            mf2_flags |= 0x04;
     513            write_byte(0x0040, 0x18, mf2_flags);
     514            //@todo: EOI/enable kbd/enable interrupts/call INT 15h/8500h
     515        }
     516        break;
     517
     518    case 0xd4: /* SysRq release */
     519        mf2_flags &= ~0x04;
     520        write_byte(0x0040, 0x18, mf2_flags);
     521        //@todo: EOI/enable kbd/enable interrupts/call INT 15h/8501h
     522        break;
     523
    510524    case 0x53: /* Del press */
    511525        if ((shift_flags & 0x0c) == 0x0c) {
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