Changed spinlock mechananisim
[tpg/acess2.git] / Kernel / arch / x86 / include / proc.h
index 0a1d754..2b04b75 100644 (file)
@@ -7,20 +7,7 @@
 
 #include <threads.h>
 
-// === CONSTANTS ===
-#define GETMSG_IGNORE  ((void*)-1)
-
-// === TYPES ===
-#if USE_MP
-typedef struct sCPU
-{
-       Uint8   APICID;
-       Uint8   State;  // 0: Unavaliable, 1: Idle, 2: Active
-       Uint16  Resvd;
-       tThread *Current;
-}      tCPU;
-#endif
-
+// === TYPES ==
 typedef struct sTSS {
        Uint32  Link;
        Uint32  ESP0, SS0;
@@ -37,7 +24,7 @@ typedef struct sTSS {
 } __attribute__((packed)) tTSS;
 
 // === FUNCTIONS ===
-extern void    Proc_Start();
+extern void    Proc_Start(void);
 extern int     Proc_Clone(Uint *Err, Uint Flags);
 
 #endif

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