X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Fvm.c;h=300ac56202371fe62282ee8a26b5897e613afa09;hb=624a05de781c51ed5d34a6db2583f884918a9594;hp=6ceda0a4724c623dc329d03b66259827201b3dce;hpb=09149700a57ced21de742451c9302320ca4eebc2;p=palacios.git diff --git a/palacios/src/geekos/vm.c b/palacios/src/geekos/vm.c index 6ceda0a..300ac56 100644 --- a/palacios/src/geekos/vm.c +++ b/palacios/src/geekos/vm.c @@ -303,19 +303,20 @@ int RunVMM(struct Boot_Info * bootInfo) { hook_io_port(&(vm_info.io_map), 0x403, &IO_Read, &IO_Write_to_Serial, NULL); { - //struct vm_device * nvram = create_nvram(); + struct vm_device * nvram = create_nvram(); //struct vm_device * timer = create_timer(); struct vm_device * pic = create_pic(); - //attach_device(&(vm_info), nvram); + attach_device(&(vm_info), nvram); //attach_device(&(vm_info), timer); attach_device(&(vm_info), pic); PrintDebugDevMgr(&(vm_info.dev_mgr)); } - hook_irq(&vm_info, 6); + hook_irq(&vm_info, 14); + hook_irq(&vm_info, 15); vm_info.rip = 0xfff0; vm_info.vm_regs.rsp = 0x0;