X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=kern%2Fswitch_x86_64.s;h=99fe9834c8131c96e05e9fda5be2f9035a342d93;hb=6b2099c56772961182353617a8d4b839f6a1a6db;hp=339c66762d0fddad1fc0dbea627f356ef689a0c4;hpb=7f5d3d3799955d4ef380bb9199a8e32c6dc72ae1;p=bertos.git diff --git a/kern/switch_x86_64.s b/kern/switch_x86_64.s index 339c6676..99fe9834 100755 --- a/kern/switch_x86_64.s +++ b/kern/switch_x86_64.s @@ -15,6 +15,9 @@ /* * $Log$ + * Revision 1.3 2006/02/24 01:35:40 bernie + * Update for new emulator. + * * Revision 1.2 2006/02/24 01:17:05 bernie * Update for new emulator. * @@ -36,9 +39,9 @@ #.intel_syntax /* void AsmSwitchContext(void **new_sp, void **save_sp) */ -/* %rdi %rsi -.globl AsmSwitchContext -AsmSwitchContext: +/* %rdi %rsi */ +.globl asm_switch_context +asm_switch_context: pushq %rax pushq %rbx pushq %rcx