#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;
Uint16 Resvd, IOPB; // IO Permissions Bitmap
} __attribute__((packed)) tTSS;
-// === FUNCTIONS ===
-extern void Proc_Start(void);
-extern int Proc_Clone(Uint *Err, Uint Flags);
-
#endif