From: Jack Lange Date: Tue, 1 Jul 2008 00:12:22 +0000 (+0000) Subject: moved further along in the boot process.... X-Git-Tag: boot386puppy-26-to-ide~9 X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=60656758d616b276a4a9a17efda49981c57cbeef moved further along in the boot process.... --- diff --git a/palacios/include/palacios/vmm_paging.h b/palacios/include/palacios/vmm_paging.h index a6db780..950ff6c 100644 --- a/palacios/include/palacios/vmm_paging.h +++ b/palacios/include/palacios/vmm_paging.h @@ -263,14 +263,22 @@ typedef enum { PDE32 } paging_mode_t; void delete_page_tables_pde32(pde32_t * pde); -pde32_entry_type_t pde32_lookup(pde32_t * pde, addr_t addr, addr_t * entry); +pde32_entry_type_t pde32_lookup(pde32_t * pd, addr_t addr, addr_t * entry); int pte32_lookup(pte32_t * pte, addr_t addr, addr_t * entry); +// This assumes that the page table resides in the host address space +// IE. IT DOES NO VM ADDR TRANSLATION +int pt32_lookup(pde32_t * pd, addr_t vaddr, addr_t * paddr); + + pt_access_status_t can_access_pde32(pde32_t * pde, addr_t addr, pf_error_t access_type); pt_access_status_t can_access_pte32(pte32_t * pte, addr_t addr, pf_error_t access_type); + + + struct guest_info; pde32_t * create_passthrough_pde32_pts(struct guest_info * guest_info);