Mercurial > hg > CbC > CbC_xv6
comparison src/interface/vm.h @ 192:429f0c3cc097
fix
author | tobaru |
---|---|
date | Wed, 22 Jan 2020 19:41:31 +0900 |
parents | 14aa35b56347 |
children | 1301727600cc |
comparison
equal
deleted
inserted
replaced
191:fe271d482151 | 192:429f0c3cc097 |
---|---|
10 struct inode* ip; | 10 struct inode* ip; |
11 unsigned int offset; | 11 unsigned int offset; |
12 unsigned int oldsz; | 12 unsigned int oldsz; |
13 unsigned int newsz; | 13 unsigned int newsz; |
14 char* uva; | 14 char* uva; |
15 pde_t *pgdir; | |
16 unsigned int va; | 15 unsigned int va; |
17 void* p; | 16 void* pp; |
18 unsigned int len; | 17 unsigned int len; |
19 unsigned int phy_low; | 18 unsigned int phy_low; |
20 unsigned int phy_hi; | 19 unsigned int phy_hi; |
21 __code init_vmm(Impl* vm, __code next(...)); | 20 __code init_vmm(Impl* vm, __code next(...)); |
22 __code kpt_freerange(Impl* vm, unsigned int low, unsigned int hi, __code next(...)); | 21 __code kpt_freerange(Impl* vm, unsigned int low, unsigned int hi, __code next(...)); |
26 __code loaduvm(Impl* vm,pde_t* pgdir, char* addr, struct inode* ip, unsigned int offset, unsigned int sz, __code next(...)); | 25 __code loaduvm(Impl* vm,pde_t* pgdir, char* addr, struct inode* ip, unsigned int offset, unsigned int sz, __code next(...)); |
27 __code allocuvm(Impl* vm, pde_t* pgdir, unsigned int oldsz, unsigned int newsz, __code next(...)); | 26 __code allocuvm(Impl* vm, pde_t* pgdir, unsigned int oldsz, unsigned int newsz, __code next(...)); |
28 __code clearpteu(Impl* vm, pde_t* pgdir, char* uva, __code next(...)); | 27 __code clearpteu(Impl* vm, pde_t* pgdir, char* uva, __code next(...)); |
29 __code copyuvm(Impl* vm, pde_t* pgdir, unsigned int sz, __code next(...)); | 28 __code copyuvm(Impl* vm, pde_t* pgdir, unsigned int sz, __code next(...)); |
30 __code uva2ka(Impl* vm, pde_t* pgdir, char* uva, __code next(...)); | 29 __code uva2ka(Impl* vm, pde_t* pgdir, char* uva, __code next(...)); |
31 __code copyout(Impl* vm, pde_t* pgdir, unsigned int va, void* p, unsigned int len, __code next(...)); | 30 __code copyout(Impl* vm, pde_t* pgdir, unsigned int va, void* pp, unsigned int len, __code next(...)); |
32 __code pagind_int(Impl* vm, unsigned int phy_low, unsigned int phy_hi, __code next(...)); | 31 __code pagind_int(Impl* vm, unsigned int phy_low, unsigned int phy_hi, __code next(...)); |
32 __code next(...); | |
33 } vm; | 33 } vm; |