195
|
1 typedef struct vm_impl<Impl, Isa> impl vm{
|
203
|
2 union Data* vm_impl;
|
200
|
3 uint i;
|
|
4 pte_t* pte;
|
203
|
5 uint sz;
|
205
|
6 pde_t* pgdir;
|
|
7 char* addr;
|
|
8 struct inode* ip;
|
|
9 uint offset;
|
206
|
10 uint pa;
|
207
|
11 uint n;
|
214
|
12 uint oldsz;
|
|
13 uint newsz;
|
|
14 uint a;
|
|
15 int ret;
|
215
|
16 char* mem;
|
216
|
17 char* uva;
|
217
|
18 pde_t* d;
|
|
19 uint ap;
|
222
|
20 uint phy_low;
|
|
21 uint phy_hi;
|
223
|
22 uint va;
|
|
23 void* pp;
|
|
24 uint len;
|
|
25 char* buf;
|
|
26 char* pa0;
|
|
27 uint va0;
|
226
|
28 proc_struct* p;
|
227
|
29 char* init;
|
205
|
30
|
211
|
31 __code kpt_alloc_check_impl(Type* vm_impl, __code next(...));
|
219
|
32 __code loaduvm_ptesize_check(Type* vm_impl, __code next(int ret, ...));
|
|
33 __code loaduvm_loop(Type* vm_impl, uint i, pte_t* pte, uint sz, __code next(int ret, ...));
|
214
|
34 __code allocuvm_check_newsz(Type* vm_impl, pde_t* pgdir, uint oldsz, uint newsz, __code next(...));
|
|
35 __code allocuvm_loop(Type* vm_impl, pde_t* pgdir, uint oldsz, uint newsz, uint a, __code next(...));
|
217
|
36 __code copyuvm_check_null(Type* vm_impl, pde_t* pgdir, uint sz, __code next(...));
|
|
37 __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, ...));
|
216
|
38 __code clearpteu_check_ptevm_impl(Type* vm_impl, pde_t* pgdir, char* uva, __code next(...));
|
220
|
39 __code uva2ka_check_pe_types(Type* vm_impl, pde_t* pgdir, char* uva, __code next(...));
|
222
|
40 __code paging_intvm_impl(Type* vm_impl, uint phy_low, uint phy_hi, __code next(...));
|
223
|
41 __code copyout_loopvm_impl(Type* vm_impl, pde_t* pgdir, uint va, void* pp, uint len, __code next(...));
|
227
|
42 __code switchuvm_check_pgdirvm_impl(struct vm_impl* vm_impl, struct proc* p, __code next(...));
|
|
43 __code init_inituvm_check_sz(struct vm_impl* vm_impl, pde_t* pgdir, char* init, uint sz, __code next(...));
|
200
|
44 __code next(...);
|
195
|
45 } vm_impl;
|
|
46
|
|
47
|