Mercurial > hg > CbC > CbC_xv6
comparison src/impl/vm_impl_private.cbc @ 214:90b65036d9a2
paging_init
author | tobaru |
---|---|
date | Fri, 24 Jan 2020 18:33:52 +0900 |
parents | 7a4d299a35be |
children | 37900976db8e |
comparison
equal
deleted
inserted
replaced
213:7a4d299a35be | 214:90b65036d9a2 |
---|---|
325 | 325 |
326 __code paging_intvmvm_impl(struct vm_impl* vm_impl, uint phy_low, uint phy_hi, __code next(...)) { | 326 __code paging_intvmvm_impl(struct vm_impl* vm_impl, uint phy_low, uint phy_hi, __code next(...)) { |
327 mappages (P2V(&_kernel_pgtbl), P2V(phy_low), phy_hi - phy_low, phy_low, AP_KU); | 327 mappages (P2V(&_kernel_pgtbl), P2V(phy_low), phy_hi - phy_low, phy_low, AP_KU); |
328 flush_tlb (); | 328 flush_tlb (); |
329 | 329 |
330 goto next(...)); | 330 goto next(...); |
331 } | 331 } |
332 | 332 |
333 __code copyout_loopvm_impl(struct vm_impl* vm_impl, pde_t* pgdir, uint va, void* pp, uint len, __code next(...)) { | |
334 | |
335 goto next(...); | |
336 } | |
337 | |
338 |