Kernel/x86 - Cleaning up and implmented address space nuking
[tpg/acess2.git] / Kernel / arch / x86 / include / arch.h
index 95a734f..8a98705 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Acess2
  * - x86 Architecture
- * arch/i386/include/arch.h
+ * arch/x86/include/arch.h
  */
 #ifndef _ARCH_H_
 #define _ARCH_H_
@@ -14,7 +14,6 @@
 #define INVLPTR        ((void*)-1)
 
 // Allow nested spinlocks?
-#define STACKED_LOCKS  2       // 0: No, 1: Per-CPU, 2: Per-Thread
 #define LOCK_DISABLE_INTS      1
 
 // - Processor/Machine Specific Features
  * \brief Short Spinlock structure
  */
 struct sShortSpinlock {
-       #if STACKED_LOCKS == 2
-       volatile void   *Lock;  //!< Lock value
-       #else
        volatile int    Lock;   //!< Lock value
-       #endif
        
        #if LOCK_DISABLE_INTS
         int    IF;     //!< Interrupt state on call to SHORTLOCK
        #endif
-       #if STACKED_LOCKS
-        int    Depth;
-       #endif
 };
 
 // === MACROS ===

UCC git Repository :: git.ucc.asn.au