comparison src/proc.cbc @ 229:4dfd1b3fb9f0

tweak_goto_init_vmm2init_inituvm
author anatofuz
date Mon, 27 Jan 2020 16:53:45 +0900
parents 052669f2ef74
children 4e11e4fa3e11
comparison
equal deleted inserted replaced
228:d1c7018537c0 229:4dfd1b3fb9f0
133 Gearef(cbc_context, vm)->vm = (union Data*) vm; 133 Gearef(cbc_context, vm)->vm = (union Data*) vm;
134 Gearef(cbc_context, vm)->pgdir = pgdir; 134 Gearef(cbc_context, vm)->pgdir = pgdir;
135 Gearef(cbc_context, vm)->init = init; 135 Gearef(cbc_context, vm)->init = init;
136 Gearef(cbc_context, vm)->sz = sz ; 136 Gearef(cbc_context, vm)->sz = sz ;
137 Gearef(cbc_context, vm)->next = C_vm_void_ret ; 137 Gearef(cbc_context, vm)->next = C_vm_void_ret ;
138 goto meta(cbc_context, vm->init_vmm); 138 goto meta(cbc_context, vm->init_inituvm);
139 } 139 }
140 140
141 void userinit(void) 141 void userinit(void)
142 { 142 {
143 struct proc* p; 143 struct proc* p;