Kernel - General fixing after ARM7 changes
[tpg/acess2.git] / Kernel / arch / x86 / include / proc.h
index 5e3fadd..e449a0f 100644 (file)
@@ -5,19 +5,9 @@
 #ifndef _PROC_H
 #define _PROC_H
 
-#include <threads.h>
-
-// === TYPES ===
-#if USE_MP
-typedef struct sCPU
-{
-       Uint8   APICID;
-       Uint8   State;  // 0: Unavaliable, 1: Idle, 2: Active
-       Uint16  Resvd;
-       tThread *Current;
-}      tCPU;
-#endif
+#include <threads_int.h>
 
+// === TYPES ==
 typedef struct sTSS {
        Uint32  Link;
        Uint32  ESP0, SS0;
@@ -33,8 +23,4 @@ typedef struct sTSS {
        Uint16  Resvd, IOPB;    // IO Permissions Bitmap
 } __attribute__((packed)) tTSS;
 
-// === FUNCTIONS ===
-extern void    Proc_Start(void);
-extern int     Proc_Clone(Uint *Err, Uint Flags);
-
 #endif

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