Enable HW interrupt setup on x86/x86_64 systems by default
* configure.host: Define _I386MACH_DISABLE_HW_INTERRUPTS on rdos. Remove setting _I386MACH_ALLOW_HW_INTERRUPTS anywhere else. * libc/machine/i386/i386mach.h: Replace test for _I386MACH_ALLOW_HW_INTERRUPTS with test for !_I386MACH_DISABLE_HW_INTERRUPTS. * libc/machine/x86_64/x86_64mach.h: Ditto. * libc/sys/linux/machine/i386/i386mach.h: Ditto. * libm/machine/i386/i386mach.h: Ditto. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -74,7 +74,7 @@
|
||||
#define SOTYPE_FUNCTION(sym)
|
||||
#endif
|
||||
|
||||
#ifdef _I386MACH_ALLOW_HW_INTERRUPTS
|
||||
#ifndef _I386MACH_DISABLE_HW_INTERRUPTS
|
||||
#define __CLI
|
||||
#define __STI
|
||||
#else
|
||||
|
Reference in New Issue
Block a user