X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86%2Finclude%2Fproc.h;h=2b04b7572fc4756e601a9da23c21ae82db921a29;hb=7d881c2e5fef91a6570e46ef69a5d4a5cf0e8b4d;hp=0a1d754863296692ba881d5f359e584f9b4b6403;hpb=d52a53f035af92941c0cafe5f81888fed16d2462;p=tpg%2Facess2.git diff --git a/Kernel/arch/x86/include/proc.h b/Kernel/arch/x86/include/proc.h index 0a1d7548..2b04b757 100644 --- a/Kernel/arch/x86/include/proc.h +++ b/Kernel/arch/x86/include/proc.h @@ -7,20 +7,7 @@ #include -// === 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