X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86%2Finclude%2Fproc.h;h=e449a0fa05c61abdba2570da84806ae6339a18d9;hb=17aac974ab83a3521f2b49b8de33ae05a00fbe07;hp=5e3fadd91569741900b0d6ae0016fbdfc4a50226;hpb=dea6bcf35a3f52396724d74e47f71cb3afade37c;p=tpg%2Facess2.git diff --git a/Kernel/arch/x86/include/proc.h b/Kernel/arch/x86/include/proc.h index 5e3fadd9..e449a0fa 100644 --- a/Kernel/arch/x86/include/proc.h +++ b/Kernel/arch/x86/include/proc.h @@ -5,19 +5,9 @@ #ifndef _PROC_H #define _PROC_H -#include - -// === TYPES === -#if USE_MP -typedef struct sCPU -{ - Uint8 APICID; - Uint8 State; // 0: Unavaliable, 1: Idle, 2: Active - Uint16 Resvd; - tThread *Current; -} tCPU; -#endif +#include +// === 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