more userspace stuff
This commit is contained in:
@@ -17,9 +17,7 @@ yield: # void yield()
|
||||
movl 0(%esp), %ebx # Get Return EIP
|
||||
movl %ebx, 4(%esp) # Move Return EIP over CS
|
||||
addl $4, %esp # Adjust stack pointer up.
|
||||
|
||||
# the stack now looks like a hardware interrupt just happened, even though we never called one.
|
||||
|
||||
|
||||
pushal
|
||||
|
||||
pushl %esp
|
||||
|
||||
Reference in New Issue
Block a user