comparison src/impl/vm_impl.cbc @ 205:3cac4139b31d

send arg at vm_impl
author tobaru
date Thu, 23 Jan 2020 15:43:36 +0900
parents 758909fc5c60
children 02bb0f8be908
comparison
equal deleted inserted replaced
204:758909fc5c60 205:3cac4139b31d
66 __code init_inituvmvm_impl(struct vm_impl* vm, pde_t* pgdir, char* init, uint sz, __code next(...)) { //:skip 66 __code init_inituvmvm_impl(struct vm_impl* vm, pde_t* pgdir, char* init, uint sz, __code next(...)) { //:skip
67 67
68 goto next(...); 68 goto next(...);
69 } 69 }
70 70
71 __code loaduvmvm_impl(struct vm_impl* vm,pde_t* pgdir, char* addr, struct inode* ip, uint offset, uint sz, __code next(...)) { 71 __code loaduvmvm_impl(struct vm_impl* vm, pde_t* pgdir, char* addr, struct inode* ip, uint offset, uint sz, __code next(...)) {
72 72 vm->pgdir = pgdir;
73 goto next(...); 73 vm->addr = addr;
74 vm->ip = ip;
75 vm->offset = offset;
76 vm->sz = sz;
77
78 goto loaduvm_ptesize_checkvm_impl(vm, next);
74 } 79 }
75 80
76 __code allocuvmvm_impl(struct vm_impl* vm, pde_t* pgdir, uint oldsz, uint newsz, __code next(...)) { 81 __code allocuvmvm_impl(struct vm_impl* vm, pde_t* pgdir, uint oldsz, uint newsz, __code next(...)) {
77 82
78 goto next(...); 83 goto next(...);