[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [HVM] ROMBIOS: reboot when we see Ctrl+Alt+Del
# HG changeset patch # User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx> # Date 1183717021 -3600 # Node ID b01225c94f83ad704ac3467f7e5a609d5f2adafe # Parent 936aa542053d050c246825993b1213243ea2fb00 [HVM] ROMBIOS: reboot when we see Ctrl+Alt+Del Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx> --- tools/firmware/rombios/rombios.c | 4 ++++ 1 files changed, 4 insertions(+) diff -r 936aa542053d -r b01225c94f83 tools/firmware/rombios/rombios.c --- a/tools/firmware/rombios/rombios.c Thu Jul 05 14:46:13 2007 +0100 +++ b/tools/firmware/rombios/rombios.c Fri Jul 06 11:17:01 2007 +0100 @@ -4675,6 +4675,10 @@ int09_function(DI, SI, BP, SP, BX, DX, C write_byte(0x0040, 0x18, mf2_flags); break; + case 0x53: /* Del */ + if ((shift_flags & 0x0c) == 0x0c) /* Ctrl + Alt */ + machine_reset(); + /* Fall through */ default: if (scancode & 0x80) return; /* toss key releases ... */ if (scancode > MAX_SCAN_CODE) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |