diff options
Diffstat (limited to 'src/arch/i386/include/bits/compiler.h')
-rw-r--r-- | src/arch/i386/include/bits/compiler.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/arch/i386/include/bits/compiler.h b/src/arch/i386/include/bits/compiler.h new file mode 100644 index 0000000..af79606 --- /dev/null +++ b/src/arch/i386/include/bits/compiler.h @@ -0,0 +1,11 @@ +#ifndef _BITS_COMPILER_H +#define _BITS_COMPILER_H + +#ifndef ASSEMBLY + +/** Declare a function with standard calling conventions */ +#define __asmcall __attribute__ (( cdecl, regparm(0) )) + +#endif /* ASSEMBLY */ + +#endif /* _BITS_COMPILER_H */ |