diff src/impl/vm_impl.h @ 223:90b65036d9a2

paging_init
author tobaru
date Fri, 24 Jan 2020 18:33:52 +0900
parents 7a4d299a35be
children 415081e357ec
line wrap: on
line diff
--- a/src/impl/vm_impl.h	Fri Jan 24 18:10:26 2020 +0900
+++ b/src/impl/vm_impl.h	Fri Jan 24 18:33:52 2020 +0900
@@ -19,6 +19,12 @@
     uint ap;
     uint phy_low;
     uint phy_hi;
+    uint va;
+    void* pp;
+    uint len;
+    char* buf;
+    char* pa0;
+    uint va0;
 
     __code kpt_alloc_check_impl(Type* vm_impl, __code next(...));
     __code loaduvm_ptesize_check(Type* vm_impl, __code next(int ret, ...));
@@ -30,8 +36,8 @@
     __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 copyout_loopvm_impl(Type* vm_impl, pde_t* pgdir, uint va, void* pp, uint len, __code next(...));
     __code next(...);
-
 } vm_impl;