X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Fmain.c;h=19933a5f938be0e5063d5fa353104e38da462618;hb=b85f79b8030114370851ed3422c078debe630570;hp=85019d5b7fa7f537db6df41542808fed4754ffef;hpb=89d5928385ff776aaaf9c0957734a611c9f9880c;p=palacios.git diff --git a/palacios/src/geekos/main.c b/palacios/src/geekos/main.c index 85019d5..19933a5 100644 --- a/palacios/src/geekos/main.c +++ b/palacios/src/geekos/main.c @@ -3,7 +3,7 @@ * Copyright (c) 2001,2003,2004 David H. Hovemeyer * Copyright (c) 2003, Jeffrey K. Hollingsworth * Copyright (c) 2004, Iulian Neamtiu - * $Revision: 1.27 $ + * $Revision: 1.28 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". @@ -342,6 +342,8 @@ void Main(struct Boot_Info* bootInfo) add_shadow_region(&(vm_info.mem_map),ent); hook_io_port(&(vm_info.io_map), 0x61, &IO_Read, &IO_Write); + hook_io_port(&(vm_info.io_map), 0x05, &IO_Read, &IO_Write); + /* vm_info.cr0 = 0; vm_info.cs.base=0xf000;