diff options
author | hpa <hpa> | 2004-12-20 16:01:54 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-12-20 16:01:54 +0000 |
commit | b987c9360a4eb2851d37a896daa6f2150a91cbe8 (patch) | |
tree | 18e5453fc5c07a81b93c3f2c25a8e456e679459e /com32/include/com32.h | |
parent | 7cd01acb83c199bcb3d0cebd15447813fd97d502 (diff) | |
download | syslinux-b987c9360a4eb2851d37a896daa6f2150a91cbe8.tar.gz |
Fix regparm in libcom32; make extlinux actually work; add 3840K support
to MEMDISK.
Diffstat (limited to 'com32/include/com32.h')
-rw-r--r-- | com32/include/com32.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/com32/include/com32.h b/com32/include/com32.h index 4548519f..91799f6b 100644 --- a/com32/include/com32.h +++ b/com32/include/com32.h @@ -13,6 +13,7 @@ #define _COM32_H #include <stdint.h> +#include <klibc/compiler.h> /* For __cdecl */ /* * This structure defines the register frame used by the @@ -69,10 +70,10 @@ typedef struct { extern struct com32_sys_args { uint32_t cs_sysargs; char *cs_cmdline; - void (*cs_intcall)(uint8_t, const com32sys_t *, com32sys_t *); + void __cdecl (*cs_intcall)(uint8_t, const com32sys_t *, com32sys_t *); void *cs_bounce; uint32_t cs_bounce_size; - void (*cs_farcall)(uint32_t, const com32sys_t *, com32sys_t *); + void __cdecl (*cs_farcall)(uint32_t, const com32sys_t *, com32sys_t *); } __com32; /* |