]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg-paging/pagingstub-asm.s
more stuff
[netwatch.git] / aseg-paging / pagingstub-asm.s
index 0d30a6dd744f1f4e751dcd35672d0361dce8db3e..414e463efbbe104bd68f0fa71a25b2c7645dd09a 100644 (file)
@@ -11,3 +11,10 @@ set_cr0_cont:                           # Hey, here we are!
   addl $6, %esp                         # Un-do 48 bits of pushing
   ret
 
+
+.globl ps_switch_stack
+ps_switch_stack:
+  mov 4(%esp), %eax
+  mov 8(%esp), %esp   
+  call *%eax
+  rsm
This page took 0.015123 seconds and 4 git commands to generate.