Mercurial > hg > CbC > CbC_xv6
diff src/interface/vm.h @ 193:1301727600cc
success build
author | anatofuz |
---|---|
date | Wed, 22 Jan 2020 21:56:18 +0900 |
parents | 429f0c3cc097 |
children | 7a4d299a35be |
line wrap: on
line diff
--- a/src/interface/vm.h Wed Jan 22 19:41:31 2020 +0900 +++ b/src/interface/vm.h Wed Jan 22 21:56:18 2020 +0900 @@ -1,33 +1,33 @@ typedef struct vm<Type,Impl> { union Data* vm; - unsigned int low; - unsigned int hi; + uint low; + uint hi; struct proc* p; pde_t* pgdir; char* init; - unsigned int sz; + uint sz; char* addr; struct inode* ip; - unsigned int offset; - unsigned int oldsz; - unsigned int newsz; + uint offset; + uint oldsz; + uint newsz; char* uva; - unsigned int va; + uint va; void* pp; - unsigned int len; - unsigned int phy_low; - unsigned int phy_hi; + uint len; + uint phy_low; + uint phy_hi; __code init_vmm(Impl* vm, __code next(...)); - __code kpt_freerange(Impl* vm, unsigned int low, unsigned int hi, __code next(...)); + __code kpt_freerange(Impl* vm, uint low, uint hi, __code next(...)); __code kpt_alloc(Impl* vm ,__code next(...)); __code switchuvm(Impl* vm ,struct proc* p, __code next(...)); - __code init_inituvm(Impl* vm, pde_t* pgdir, char* init, unsigned int sz, __code next(...)); - __code loaduvm(Impl* vm,pde_t* pgdir, char* addr, struct inode* ip, unsigned int offset, unsigned int sz, __code next(...)); - __code allocuvm(Impl* vm, pde_t* pgdir, unsigned int oldsz, unsigned int newsz, __code next(...)); + __code init_inituvm(Impl* vm, pde_t* pgdir, char* init, uint sz, __code next(...)); + __code loaduvm(Impl* vm,pde_t* pgdir, char* addr, struct inode* ip, uint offset, uint sz, __code next(...)); + __code allocuvm(Impl* vm, pde_t* pgdir, uint oldsz, uint newsz, __code next(...)); __code clearpteu(Impl* vm, pde_t* pgdir, char* uva, __code next(...)); - __code copyuvm(Impl* vm, pde_t* pgdir, unsigned int sz, __code next(...)); + __code copyuvm(Impl* vm, pde_t* pgdir, uint sz, __code next(...)); __code uva2ka(Impl* vm, pde_t* pgdir, char* uva, __code next(...)); - __code copyout(Impl* vm, pde_t* pgdir, unsigned int va, void* pp, unsigned int len, __code next(...)); - __code pagind_int(Impl* vm, unsigned int phy_low, unsigned int phy_hi, __code next(...)); + __code copyout(Impl* vm, pde_t* pgdir, uint va, void* pp, uint len, __code next(...)); + __code pagind_int(Impl* vm, uint phy_low, uint phy_hi, __code next(...)); __code next(...); } vm;