X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fkeyboard.c;fp=palacios%2Fsrc%2Fdevices%2Fkeyboard.c;h=00e497a8c5344e39fb5c4dfc8f027f93d8b0785d;hb=cd012ba87f57c1c694038f1a17f249f90f9a2be8;hp=c50374aaa61aeda391c899e6dfbae0b67d8376be;hpb=ed8feff1d5dd6bf028cd5ba0960ec125505d7597;p=palacios.git diff --git a/palacios/src/devices/keyboard.c b/palacios/src/devices/keyboard.c index c50374a..00e497a 100644 --- a/palacios/src/devices/keyboard.c +++ b/palacios/src/devices/keyboard.c @@ -329,9 +329,14 @@ static int key_event_handler(struct guest_info * info, // PrintGuestPageTables(info, info->shdw_pg_state.guest_cr3); } else if (evt->scan_code == 0x43) { // F9 Sym test PrintDebug("Testing sym call\n"); - v3_sym_call0(info, 0, NULL, NULL); + v3_sym_call5(info, SYMCALL_TEST, 0x1111, 0x2222, 0x3333, 0x4444, 0x5555, NULL, NULL); + } else if (evt->scan_code == 0x42) { // F8 Sym test2 + PrintDebug("Testing sym call\n"); + v3_sym_call1(info, SYMCALL_MEM_LOOKUP, 0, NULL, NULL); } + + addr_t irq_state = v3_lock_irqsave(state->kb_lock); if ( (state->status.enabled == 1) // onboard is enabled