diff options
author | rsc <rsc> | 2006-07-17 01:36:39 +0000 |
---|---|---|
committer | rsc <rsc> | 2006-07-17 01:36:39 +0000 |
commit | ee9c7f3bfc45563e4caebcb7995e75bf39a8e0f3 (patch) | |
tree | 0509dd8855210b0fcfca73c4181122b48d81bfdb /trap.c | |
parent | f15a3ae2633a9f3c76be7ce76b2ab85e2229e502 (diff) | |
download | xv6-labs-ee9c7f3bfc45563e4caebcb7995e75bf39a8e0f3.tar.gz xv6-labs-ee9c7f3bfc45563e4caebcb7995e75bf39a8e0f3.tar.bz2 xv6-labs-ee9c7f3bfc45563e4caebcb7995e75bf39a8e0f3.zip |
goodbye PushRegs
Diffstat (limited to 'trap.c')
-rw-r--r-- | trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ trap(struct Trapframe *tf) if(v == T_SYSCALL){ struct proc *cp = curproc[cpu()]; - int num = cp->tf->regs.eax; + int num = cp->tf->eax; if(cp == 0) panic("syscall with no proc"); if(cp->killed) |