diff options
Diffstat (limited to 'newlib/libc/machine/i386/i386mach.h')
-rw-r--r-- | newlib/libc/machine/i386/i386mach.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/newlib/libc/machine/i386/i386mach.h b/newlib/libc/machine/i386/i386mach.h index bd6cf22f0..23c32190d 100644 --- a/newlib/libc/machine/i386/i386mach.h +++ b/newlib/libc/machine/i386/i386mach.h @@ -67,3 +67,17 @@ #define mm5 REG(mm5) #define mm6 REG(mm6) #define mm7 REG(mm7) + +#ifdef _I386MACH_NEED_SOTYPE_FUNCTION +#define SOTYPE_FUNCTION(sym) .type SYM(sym),@function +#else +#define SOTYPE_FUNCTION(sym) +#endif + +#ifdef _I386MACH_ALLOW_HW_INTERRUPTS +#define __CLI +#define __STI +#else +#define __CLI cli +#define __STI sti +#endif |