]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg-paging/pagingstub-asm.s
use x
[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.025546 seconds and 4 git commands to generate.