summaryrefslogtreecommitdiff
path: root/swtch.S
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2010-08-05 14:15:03 -0400
committerRobert Morris <[email protected]>2010-08-05 14:15:03 -0400
commit2cf6b32d4dbc915f5d3b2d7b0e382c0ad20299be (patch)
tree07c8bb6c34e0cc22d44046acfa16ba29899842ee /swtch.S
parenteb18645f17877de4ced951eed5abac61bdfcd5c5 (diff)
downloadxv6-labs-2cf6b32d4dbc915f5d3b2d7b0e382c0ad20299be.tar.gz
xv6-labs-2cf6b32d4dbc915f5d3b2d7b0e382c0ad20299be.tar.bz2
xv6-labs-2cf6b32d4dbc915f5d3b2d7b0e382c0ad20299be.zip
move jkstack to main.c
replace jstack with asm()s
Diffstat (limited to 'swtch.S')
-rw-r--r--swtch.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/swtch.S b/swtch.S
index 49efdf9..8751317 100644
--- a/swtch.S
+++ b/swtch.S
@@ -26,11 +26,3 @@ swtch:
popl %ebx
popl %ebp
ret
-
-# Jump on a new stack, fake C calling conventions
-.globl jstack
-jstack:
- movl 4(%esp), %esp
- subl $16, %esp # space for arguments
- movl $0, %ebp # terminate functions that follow ebp's
- call mainc # continue at mainc