direct-io.hg

changeset 15470:b01225c94f83

[HVM] ROMBIOS: reboot when we see Ctrl+Alt+Del
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Fri Jul 06 11:17:01 2007 +0100 (2007-07-06)
parents 936aa542053d
children 7ac7f1472414
files tools/firmware/rombios/rombios.c
line diff
     1.1 --- a/tools/firmware/rombios/rombios.c	Thu Jul 05 14:46:13 2007 +0100
     1.2 +++ b/tools/firmware/rombios/rombios.c	Fri Jul 06 11:17:01 2007 +0100
     1.3 @@ -4675,6 +4675,10 @@ int09_function(DI, SI, BP, SP, BX, DX, C
     1.4        write_byte(0x0040, 0x18, mf2_flags);
     1.5        break;
     1.6  
     1.7 +    case 0x53: /* Del */
     1.8 +        if ((shift_flags & 0x0c) == 0x0c) /* Ctrl + Alt */
     1.9 +            machine_reset();
    1.10 +        /* Fall through */
    1.11      default:
    1.12        if (scancode & 0x80) return; /* toss key releases ... */
    1.13        if (scancode > MAX_SCAN_CODE) {