summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/interface/pcbios/int13.c
diff options
context:
space:
mode:
authorMichael Brown2008-11-19 01:18:32 +0100
committerMichael Brown2008-11-19 20:12:53 +0100
commitdc60c2414658f27b88f212bba8a36180ab8657fb (patch)
treed4ad6d883d3fe6d4f7dfb9f75786f2815537d7dd /src/arch/i386/interface/pcbios/int13.c
parent[pxe] Move all PXE files to arch/i386 (diff)
downloadipxe-dc60c2414658f27b88f212bba8a36180ab8657fb.tar.gz
ipxe-dc60c2414658f27b88f212bba8a36180ab8657fb.tar.xz
ipxe-dc60c2414658f27b88f212bba8a36180ab8657fb.zip
[i386] Rename __cdecl to __asmcall
__cdecl is a misleading name, since it currently encapsulates both cdecl and regparm(0) attributes. Rename to __asmcall.
Diffstat (limited to 'src/arch/i386/interface/pcbios/int13.c')
-rw-r--r--src/arch/i386/interface/pcbios/int13.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/interface/pcbios/int13.c b/src/arch/i386/interface/pcbios/int13.c
index 6f61e4a1..a18039e0 100644
--- a/src/arch/i386/interface/pcbios/int13.c
+++ b/src/arch/i386/interface/pcbios/int13.c
@@ -322,7 +322,7 @@ static int int13_get_extended_parameters ( struct int13_drive *drive,
* INT 13 handler
*
*/
-static __cdecl void int13 ( struct i386_all_regs *ix86 ) {
+static __asmcall void int13 ( struct i386_all_regs *ix86 ) {
int command = ix86->regs.ah;
unsigned int bios_drive = ix86->regs.dl;
struct int13_drive *drive;