diff options
Diffstat (limited to 'src/features/load.c')
-rw-r--r-- | src/features/load.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/features/load.c b/src/features/load.c index 5382c77..cc1a094 100644 --- a/src/features/load.c +++ b/src/features/load.c @@ -14,5 +14,6 @@ void bin_load(char *path, struct proc *proc) proc->regs.ebp = (u32)stack; proc->regs.esp = (u32)stack; + proc->regs.useresp = (u32)stack; proc->regs.eip = (u32)data; } |