summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/include/bits/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386/include/bits/compiler.h')
-rw-r--r--src/arch/i386/include/bits/compiler.h11
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 00000000..af796069
--- /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 */