diff options
author | Robert Morris <[email protected]> | 2010-08-05 14:15:03 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2010-08-05 14:15:03 -0400 |
commit | 2cf6b32d4dbc915f5d3b2d7b0e382c0ad20299be (patch) | |
tree | 07c8bb6c34e0cc22d44046acfa16ba29899842ee /swtch.S | |
parent | eb18645f17877de4ced951eed5abac61bdfcd5c5 (diff) | |
download | xv6-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.S | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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 |