X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86%2Finclude%2Fproc.h;h=73bddbb9758233ae4bab1a605785d5ad9f715b4d;hb=dc8801cc0b5ed911a775cfc2ea853048f7a00db1;hp=baf9402c73559bd21b07cdd30b898288ae559f67;hpb=a79ebcb3a2e206251f44e99376ec2ed6c2bacc63;p=tpg%2Facess2.git diff --git a/Kernel/arch/x86/include/proc.h b/Kernel/arch/x86/include/proc.h index baf9402c..73bddbb9 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,6 @@ typedef struct sTSS { Uint16 Resvd, IOPB; // IO Permissions Bitmap } __attribute__((packed)) tTSS; -// === FUNCTIONS === -extern void Proc_Start(); -extern int Proc_Clone(Uint *Err, Uint Flags); +#define USER_MAX KERNEL_BASE #endif