diff src/impl/vm_impl.h @ 190:14aa35b56347

add page table interface
author tobaru
date Wed, 22 Jan 2020 18:40:15 +0900
parents
children 429f0c3cc097
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/impl/vm_impl.h	Wed Jan 22 18:40:15 2020 +0900
@@ -0,0 +1,12 @@
+typedef struct vm_impl<Impl, Isa> impl vm{
+    unsigned int i;
+    pte_t *pte;
+    unsigned int sz;
+ 
+    __code loaduvm_ptesize_check(Impl* vm_impl, __code next(...));
+    __code loaduvm_loop(Impl* vm_impl, unsigned int i, pte_t *pte, unsigned int sz, __code next(...));
+ 
+
+} vm_impl;
+
+