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:
Corinna Vinschen
2016-02-26 18:52:46 +01:00
parent 678f774727
commit b9217601f8
5 changed files with 5 additions and 7 deletions

View File

@ -74,7 +74,7 @@
#define SOTYPE_FUNCTION(sym)
#endif
#ifdef _I386MACH_ALLOW_HW_INTERRUPTS
#ifndef _I386MACH_DISABLE_HW_INTERRUPTS
#define __CLI
#define __STI
#else