2 * Acess2 Kernel (x86 Port)
3 * - By John Hodge (thePowersGang)
6 * - Low-level threading internals
16 typedef struct sCPU tCPU;
22 Uint8 State; // 0: Unavaliable, 1: Idle, 2: Active
25 tThread *LastTimerThread; // Used to do preeemption
29 // - mptable.c - MP Table parsing code
30 extern const void *MPTable_LocateFloatPtr(void);
31 extern int MPTable_FillCPUs(const void *FloatPtr, tCPU *CPUs, int MaxCPUs, int *BSPIndex);
34 extern void SwitchTasks(Uint NewSP, Uint *OldSP, Uint NewIP, Uint *OldIO, Uint CR3);
35 extern void Proc_InitialiseSSE(void);
36 extern void Proc_SaveSSE(Uint DestPtr);
37 extern void Proc_DisableSSE(void);