summaryrefslogtreecommitdiff
path: root/trapasm.S
diff options
context:
space:
mode:
authorRuss Cox <[email protected]>2009-07-11 19:28:29 -0700
committerRuss Cox <[email protected]>2009-07-11 19:28:29 -0700
commit2c5f7aba38f8e7207a81fdef36d7720bda9dc4e5 (patch)
tree042710e617fe8e5b807314dc3a1f48c2b4a26138 /trapasm.S
parentb121486c3fa2eb3c8e57fe2ae9ec0f7357da1fc1 (diff)
downloadxv6-labs-2c5f7aba38f8e7207a81fdef36d7720bda9dc4e5.tar.gz
xv6-labs-2c5f7aba38f8e7207a81fdef36d7720bda9dc4e5.tar.bz2
xv6-labs-2c5f7aba38f8e7207a81fdef36d7720bda9dc4e5.zip
initproc, usegment, swtch tweaks
Diffstat (limited to 'trapasm.S')
-rw-r--r--trapasm.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/trapasm.S b/trapasm.S
index 983163d..1cb2ce6 100644
--- a/trapasm.S
+++ b/trapasm.S
@@ -35,11 +35,3 @@ trapret:
popl %ds
addl $0x8, %esp # trapno and errcode
iret
-
- # A forked process switches to user mode by calling
- # forkret1(tf), where tf is the trap frame to use.
-.globl forkret1
-forkret1:
- movl 4(%esp), %esp
- jmp trapret
-