X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Femul%2Fswitch_x86_64.s;h=1632c816d4b01512c7fb554043aed9d7b8a259aa;hb=1285f7012e93cb360b5ab64fc68df6e4231a7b2e;hp=61859834cb95f50dfa41aa219fa6c2c5b584544f;hpb=8ae4e430b21973bae9a6bc26b6fd5e08bd07c4c7;p=bertos.git diff --git a/bertos/emul/switch_x86_64.s b/bertos/emul/switch_x86_64.s index 61859834..1632c816 100644 --- a/bertos/emul/switch_x86_64.s +++ b/bertos/emul/switch_x86_64.s @@ -26,9 +26,8 @@ * invalidate any other reasons why the executable file might be covered by * the GNU General Public License. * - * Copyright 2004 Develer S.r.l. (http://www.develer.com/) + * Copyright 2004, 2008 Develer S.r.l. (http://www.develer.com/) * Copyright 1999, 2000, 2001 Bernie Innocenti - * This file is part of DevLib - See devlib/README for information. * --> * * \version $Id$ @@ -37,11 +36,7 @@ * \brief i386 context switch */ -/* I know it's ugly... */ -/* .intel_syntax */ - -/* void AsmSwitchContext(void **new_sp, void **save_sp) */ -/* %rdi %rsi */ +/* void asm_switch_context(void **new_sp [%rdi], void **save_sp [%rsi]) */ .globl asm_switch_context asm_switch_context: pushq %rax @@ -61,10 +56,3 @@ asm_switch_context: popq %rbx popq %rax ret - -/* int asm_switch_version(void) */ -.globl asm_switch_version -asm_switch_version: - mov $1,%rax - ret -