X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=kern%2Fswitch_x86_64.s;h=5fb4da658d1663d461c4fb91218285d212fb82f2;hb=1fc31f45bcec8bc23a5924ae5b288439abca8ded;hp=339c66762d0fddad1fc0dbea627f356ef689a0c4;hpb=7f5d3d3799955d4ef380bb9199a8e32c6dc72ae1;p=bertos.git diff --git a/kern/switch_x86_64.s b/kern/switch_x86_64.s old mode 100755 new mode 100644 index 339c6676..5fb4da65 --- a/kern/switch_x86_64.s +++ b/kern/switch_x86_64.s @@ -15,6 +15,12 @@ /* * $Log$ + * Revision 1.4 2006/09/20 14:02:49 marco + * C-style comment. + * + * 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. * @@ -33,12 +39,12 @@ */ /* I know it's ugly... */ -#.intel_syntax +/* .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