changeset 273:4e11e4fa3e11

fix_arg
author anatofuz
date Mon, 27 Jan 2020 17:23:02 +0900
parents 4dfd1b3fb9f0
children 58da7a1234f7
files src/proc.cbc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
 
 }