# HG changeset patch # User anatofuz # Date 1580113382 -32400 # Node ID 4e11e4fa3e1142bd8ee423695f98028c1c5a7220 # Parent 4dfd1b3fb9f041848f6960fd62f7bb5b5b25a9ca fix_arg diff -r 4dfd1b3fb9f0 -r 4e11e4fa3e11 src/proc.cbc --- a/src/proc.cbc Mon Jan 27 16:53:45 2020 +0900 +++ b/src/proc.cbc Mon Jan 27 17:23:02 2020 +0900 @@ -120,7 +120,7 @@ void dummy(struct proc *p, char _binary_initcode_start[], char _binary_initcode_size[]) { // inituvm(p->pgdir, _binary_initcode_start, (int)_binary_initcode_size); - goto cbc_init_vmm_dummy(&p->cbc_context, p, _binary_initcode_start, _binary_initcode_size); + goto cbc_init_vmm_dummy(&p->cbc_context, p, p->pgdir, _binary_initcode_start, (int)_binary_initcode_size); }