Mercurial > hg > Members > menikon > CbC_xv6
diff src/impl/vm_impl.cbc @ 222:7a4d299a35be
paging_init
author | tobaru |
---|---|
date | Fri, 24 Jan 2020 18:10:26 +0900 |
parents | c1d1721fd907 |
children | 90b65036d9a2 |
line wrap: on
line diff
--- a/src/impl/vm_impl.cbc Fri Jan 24 17:44:25 2020 +0900 +++ b/src/impl/vm_impl.cbc Fri Jan 24 18:10:26 2020 +0900 @@ -31,6 +31,7 @@ vm_impl->copyuvm_check_null = C_copyuvm_check_nullvm_impl; vm_impl->copyuvm_loop = C_copyuvm_loopvm_impl; vm_impl->uva2ka_check_pe_types = C_uva2ka_check_pe_types; + vm_impl->paging_intvm_impl = C_paging_intvmvm_impl; vm->init_vmm = C_init_vmmvm_impl; vm->kpt_freerange = C_kpt_freerangevm_impl; vm->kpt_alloc = C_kpt_allocvm_impl; @@ -42,7 +43,7 @@ vm->copyuvm = C_copyuvmvm_impl; vm->uva2ka = C_uva2kavm_impl; vm->copyout = C_copyoutvm_impl; - vm->pagind_int = C_pagind_intvm_impl; + vm->paging_int = C_paging_intvm_impl; return vm; } @@ -130,12 +131,12 @@ } __code copyoutvm_impl(struct vm_impl* vm, pde_t* pgdir, uint va, void* pp, uint len, __code next(...)) { - + goto next(...); } -__code pagind_intvm_impl(struct vm_impl* vm, uint phy_low, uint phy_hi, __code next(...)) { +__code paging_intvm_impl(struct vm_impl* vm, uint phy_low, uint phy_hi, __code next(...)) { - goto next(...); + goto paging_intvmvm_impl(vm, phy_low, phy_hi, next(...)); }