X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_ctrl_regs.c;h=e36b2fe69ce90b99078f4670c217107ac4028bf4;hb=6ba597e93de8a1511d3be40066ae5082b9dbeb70;hp=8966ee7cbe3abfa332f1e1566f4b01ff645f6db4;hpb=990ef457de6998f79947c81a16c8e7f843e784c0;p=palacios-OLD.git diff --git a/palacios/src/palacios/vmm_ctrl_regs.c b/palacios/src/palacios/vmm_ctrl_regs.c index 8966ee7..e36b2fe 100644 --- a/palacios/src/palacios/vmm_ctrl_regs.c +++ b/palacios/src/palacios/vmm_ctrl_regs.c @@ -23,7 +23,7 @@ #include #include #include - +#include #ifndef DEBUG_CTRL_REGS #undef PrintDebug @@ -473,7 +473,7 @@ int v3_handle_cr4_write(struct guest_info * info) { delete_page_tables_32((pde32_t *)V3_VAddr((void *)(info->direct_map_pt))); // create 32 bit PAE direct map page table - info->direct_map_pt = (addr_t)V3_PAddr(create_passthrough_pts_32PAE(info)); + info->direct_map_pt = (addr_t)V3_PAddr((void *)v3_create_direct_passthrough_pts(info)); // reset cr3 to new page tables info->ctrl_regs.cr3 = *(addr_t*)&(info->direct_map_pt);