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

paging_init
author tobaru
date Fri, 24 Jan 2020 18:33:52 +0900
parents 7a4d299a35be
children 415081e357ec
comparison
equal deleted inserted replaced
222:7a4d299a35be 223:90b65036d9a2
17 char* uva; 17 char* uva;
18 pde_t* d; 18 pde_t* d;
19 uint ap; 19 uint ap;
20 uint phy_low; 20 uint phy_low;
21 uint phy_hi; 21 uint phy_hi;
22 uint va;
23 void* pp;
24 uint len;
25 char* buf;
26 char* pa0;
27 uint va0;
22 28
23 __code kpt_alloc_check_impl(Type* vm_impl, __code next(...)); 29 __code kpt_alloc_check_impl(Type* vm_impl, __code next(...));
24 __code loaduvm_ptesize_check(Type* vm_impl, __code next(int ret, ...)); 30 __code loaduvm_ptesize_check(Type* vm_impl, __code next(int ret, ...));
25 __code loaduvm_loop(Type* vm_impl, uint i, pte_t* pte, uint sz, __code next(int ret, ...)); 31 __code loaduvm_loop(Type* vm_impl, uint i, pte_t* pte, uint sz, __code next(int ret, ...));
26 __code allocuvm_check_newsz(Type* vm_impl, pde_t* pgdir, uint oldsz, uint newsz, __code next(...)); 32 __code allocuvm_check_newsz(Type* vm_impl, pde_t* pgdir, uint oldsz, uint newsz, __code next(...));
28 __code copyuvm_check_null(Type* vm_impl, pde_t* pgdir, uint sz, __code next(...)); 34 __code copyuvm_check_null(Type* vm_impl, pde_t* pgdir, uint sz, __code next(...));
29 __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, ...)); 35 __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, ...));
30 __code clearpteu_check_ptevm_impl(Type* vm_impl, pde_t* pgdir, char* uva, __code next(...)); 36 __code clearpteu_check_ptevm_impl(Type* vm_impl, pde_t* pgdir, char* uva, __code next(...));
31 __code uva2ka_check_pe_types(Type* vm_impl, pde_t* pgdir, char* uva, __code next(...)); 37 __code uva2ka_check_pe_types(Type* vm_impl, pde_t* pgdir, char* uva, __code next(...));
32 __code paging_intvm_impl(Type* vm_impl, uint phy_low, uint phy_hi, __code next(...)); 38 __code paging_intvm_impl(Type* vm_impl, uint phy_low, uint phy_hi, __code next(...));
39 __code copyout_loopvm_impl(Type* vm_impl, pde_t* pgdir, uint va, void* pp, uint len, __code next(...));
33 __code next(...); 40 __code next(...);
34
35 } vm_impl; 41 } vm_impl;
36 42
37 43