X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86%2Finclude%2Farch.h;h=109f6506ee35c42fd20e9a03a68eb9d95fa37b6e;hb=e5e272c426a28f2f9e69ed2232469575c7409af1;hp=045986fe61c008553968638a6cd49342d70728b5;hpb=b8a91f439c2721992885557cebae762495fe4348;p=tpg%2Facess2.git diff --git a/Kernel/arch/x86/include/arch.h b/Kernel/arch/x86/include/arch.h index 045986fe..109f6506 100644 --- a/Kernel/arch/x86/include/arch.h +++ b/Kernel/arch/x86/include/arch.h @@ -10,9 +10,11 @@ #define KERNEL_BASE 0xC0000000 #define BITS 32 +#define INVLPTR ((void*)-1) + // Allow nested spinlocks? #define STACKED_LOCKS 2 // 0: No, 1: Per-CPU, 2: Per-Thread -#define LOCK_DISABLE_INTS 0 +#define LOCK_DISABLE_INTS 1 // - Processor/Machine Specific Features #if ARCH != i386 && ARCH != i486 && ARCH != i586