annotate src/impl/vm_impl.h @ 226:415081e357ec

switchuvm_check_pgdirvm_impl
author tobaru
date Fri, 24 Jan 2020 20:26:26 +0900
parents 90b65036d9a2
children 80398e02ae72
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
195
14aa35b56347 add page table interface
tobaru
parents:
diff changeset
1 typedef struct vm_impl<Impl, Isa> impl vm{
203
9fb193a2c352 fix_vm_iml_private
anatofuz
parents: 200
diff changeset
2 union Data* vm_impl;
200
1301727600cc success build
anatofuz
parents: 197
diff changeset
3 uint i;
1301727600cc success build
anatofuz
parents: 197
diff changeset
4 pte_t* pte;
203
9fb193a2c352 fix_vm_iml_private
anatofuz
parents: 200
diff changeset
5 uint sz;
205
3cac4139b31d send arg at vm_impl
tobaru
parents: 203
diff changeset
6 pde_t* pgdir;
3cac4139b31d send arg at vm_impl
tobaru
parents: 203
diff changeset
7 char* addr;
3cac4139b31d send arg at vm_impl
tobaru
parents: 203
diff changeset
8 struct inode* ip;
3cac4139b31d send arg at vm_impl
tobaru
parents: 203
diff changeset
9 uint offset;
206
247aa9ee931c loaduvm_loopvm_impl
tobaru
parents: 205
diff changeset
10 uint pa;
207
8a55878f6a25 loaduvm
tobaru
parents: 206
diff changeset
11 uint n;
214
2ecf1e09e981 allocuvm_loop and return
tobaru
parents: 211
diff changeset
12 uint oldsz;
2ecf1e09e981 allocuvm_loop and return
tobaru
parents: 211
diff changeset
13 uint newsz;
2ecf1e09e981 allocuvm_loop and return
tobaru
parents: 211
diff changeset
14 uint a;
2ecf1e09e981 allocuvm_loop and return
tobaru
parents: 211
diff changeset
15 int ret;
215
291d4e9304a1 allocuvm_loopvm_imp
tobaru
parents: 214
diff changeset
16 char* mem;
216
0f1700bd5cff cleapteu
tobaru
parents: 215
diff changeset
17 char* uva;
217
f940ff602312 copyuvm_loop
tobaru
parents: 216
diff changeset
18 pde_t* d;
f940ff602312 copyuvm_loop
tobaru
parents: 216
diff changeset
19 uint ap;
222
7a4d299a35be paging_init
tobaru
parents: 220
diff changeset
20 uint phy_low;
7a4d299a35be paging_init
tobaru
parents: 220
diff changeset
21 uint phy_hi;
223
90b65036d9a2 paging_init
tobaru
parents: 222
diff changeset
22 uint va;
90b65036d9a2 paging_init
tobaru
parents: 222
diff changeset
23 void* pp;
90b65036d9a2 paging_init
tobaru
parents: 222
diff changeset
24 uint len;
90b65036d9a2 paging_init
tobaru
parents: 222
diff changeset
25 char* buf;
90b65036d9a2 paging_init
tobaru
parents: 222
diff changeset
26 char* pa0;
90b65036d9a2 paging_init
tobaru
parents: 222
diff changeset
27 uint va0;
226
415081e357ec switchuvm_check_pgdirvm_impl
tobaru
parents: 223
diff changeset
28 proc_struct* p;
205
3cac4139b31d send arg at vm_impl
tobaru
parents: 203
diff changeset
29
211
66db83ec1ec2 kpt_alloc_check_impl and freerange
tobaru
parents: 209
diff changeset
30 __code kpt_alloc_check_impl(Type* vm_impl, __code next(...));
219
b8597756f701 fix loaduvm loop
tobaru
parents: 217
diff changeset
31 __code loaduvm_ptesize_check(Type* vm_impl, __code next(int ret, ...));
b8597756f701 fix loaduvm loop
tobaru
parents: 217
diff changeset
32 __code loaduvm_loop(Type* vm_impl, uint i, pte_t* pte, uint sz, __code next(int ret, ...));
214
2ecf1e09e981 allocuvm_loop and return
tobaru
parents: 211
diff changeset
33 __code allocuvm_check_newsz(Type* vm_impl, pde_t* pgdir, uint oldsz, uint newsz, __code next(...));
2ecf1e09e981 allocuvm_loop and return
tobaru
parents: 211
diff changeset
34 __code allocuvm_loop(Type* vm_impl, pde_t* pgdir, uint oldsz, uint newsz, uint a, __code next(...));
217
f940ff602312 copyuvm_loop
tobaru
parents: 216
diff changeset
35 __code copyuvm_check_null(Type* vm_impl, pde_t* pgdir, uint sz, __code next(...));
f940ff602312 copyuvm_loop
tobaru
parents: 216
diff changeset
36 __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
0f1700bd5cff cleapteu
tobaru
parents: 215
diff changeset
37 __code clearpteu_check_ptevm_impl(Type* vm_impl, pde_t* pgdir, char* uva, __code next(...));
220
c1d1721fd907 uva2ka_check_pe_types
tobaru
parents: 219
diff changeset
38 __code uva2ka_check_pe_types(Type* vm_impl, pde_t* pgdir, char* uva, __code next(...));
222
7a4d299a35be paging_init
tobaru
parents: 220
diff changeset
39 __code paging_intvm_impl(Type* vm_impl, uint phy_low, uint phy_hi, __code next(...));
223
90b65036d9a2 paging_init
tobaru
parents: 222
diff changeset
40 __code copyout_loopvm_impl(Type* vm_impl, pde_t* pgdir, uint va, void* pp, uint len, __code next(...));
226
415081e357ec switchuvm_check_pgdirvm_impl
tobaru
parents: 223
diff changeset
41 __code switchuvm_check_pgdirvm_impl(struct vm_impl* vm_impl, struct proc *p, __code next(...));
200
1301727600cc success build
anatofuz
parents: 197
diff changeset
42 __code next(...);
195
14aa35b56347 add page table interface
tobaru
parents:
diff changeset
43 } vm_impl;
14aa35b56347 add page table interface
tobaru
parents:
diff changeset
44
14aa35b56347 add page table interface
tobaru
parents:
diff changeset
45