From 2cf6b32d4dbc915f5d3b2d7b0e382c0ad20299be Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Thu, 5 Aug 2010 14:15:03 -0400 Subject: move jkstack to main.c replace jstack with asm()s --- swtch.S | 8 -------- 1 file changed, 8 deletions(-) (limited to 'swtch.S') 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 -- cgit v1.2.3