diff src/impl/vm_impl.h @ 222:7a4d299a35be

paging_init
author tobaru
date Fri, 24 Jan 2020 18:10:26 +0900
parents c1d1721fd907
children 90b65036d9a2
line wrap: on
line diff
--- a/src/impl/vm_impl.h	Fri Jan 24 17:44:25 2020 +0900
+++ b/src/impl/vm_impl.h	Fri Jan 24 18:10:26 2020 +0900
@@ -17,6 +17,8 @@
     char* uva;
     pde_t* d;
     uint ap;
+    uint phy_low;
+    uint phy_hi;
 
     __code kpt_alloc_check_impl(Type* vm_impl, __code next(...));
     __code loaduvm_ptesize_check(Type* vm_impl, __code next(int ret, ...));
@@ -27,6 +29,7 @@
     __code copyuvm_loop(Type* vm_impl,pde_t* pgdir, uint sz, pde_t* d, pte_t* pte, uint pa, uint i, uint ap, char* mem, __code next(int ret, ...));
     __code clearpteu_check_ptevm_impl(Type* vm_impl, pde_t* pgdir, char* uva,  __code next(...));
     __code uva2ka_check_pe_types(Type* vm_impl, pde_t* pgdir, char* uva, __code next(...));
+    __code paging_intvm_impl(Type* vm_impl, uint phy_low, uint phy_hi, __code next(...));
     __code next(...);
 
 } vm_impl;