diff src/impl/vm_impl.h @ 197:3cac4139b31d

send arg at vm_impl
author tobaru
date Thu, 23 Jan 2020 15:43:36 +0900
parents 9fb193a2c352
children 247aa9ee931c
line wrap: on
line diff
--- a/src/impl/vm_impl.h	Thu Jan 23 14:55:04 2020 +0900
+++ b/src/impl/vm_impl.h	Thu Jan 23 15:43:36 2020 +0900
@@ -3,7 +3,11 @@
     uint i;
     pte_t* pte;
     uint sz;
- 
+    pde_t* pgdir;
+    char* addr;
+    struct inode* ip;
+    uint offset;
+
     __code loaduvm_ptesize_check(Type* vm_impl, __code next(...));
     __code loaduvm_loop(Type* vm_impl, uint i, pte_t* pte, uint sz, __code next(...));
     __code next(...);