From: Jacob Potter Date: Fri, 7 Nov 2008 20:20:28 +0000 (-0500) Subject: more stuff X-Git-Url: http://git.joshuawise.com/netwatch.git/commitdiff_plain/8e404e6853e363008231003f9c23488eae65af5e more stuff --- diff --git a/aseg-paging/pagetable.h b/aseg-paging/pagetable.h index 49e7013..e69de29 100644 --- a/aseg-paging/pagetable.h +++ b/aseg-paging/pagetable.h @@ -1 +0,0 @@ -void * pt_setup(int smbase); diff --git a/aseg-paging/pagingstub-asm.s b/aseg-paging/pagingstub-asm.s index 0d30a6d..414e463 100644 --- a/aseg-paging/pagingstub-asm.s +++ b/aseg-paging/pagingstub-asm.s @@ -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