X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86%2Finclude%2Fproc.h;h=2b04b7572fc4756e601a9da23c21ae82db921a29;hb=41769c02317835472d7678d3531ecfc23df8e17a;hp=6619ec0de5ff3331e2b13f8d0207a604022f0f5d;hpb=f119d0e5b18b7286d04fc536a94e0f96e3c51714;p=tpg%2Facess2.git diff --git a/Kernel/arch/x86/include/proc.h b/Kernel/arch/x86/include/proc.h index 6619ec0d..2b04b757 100644 --- a/Kernel/arch/x86/include/proc.h +++ b/Kernel/arch/x86/include/proc.h @@ -7,11 +7,7 @@ #include -// === CONSTANTS === -#define GETMSG_IGNORE ((void*)-1) - -// === TYPES === - +// === TYPES == typedef struct sTSS { Uint32 Link; Uint32 ESP0, SS0; @@ -25,10 +21,10 @@ typedef struct sTSS { Uint32 ES, CS, DS, SS, FS, GS; Uint32 LDTR; Uint16 Resvd, IOPB; // IO Permissions Bitmap -} tTSS; +} __attribute__((packed)) tTSS; // === FUNCTIONS === -extern void Proc_Start(); +extern void Proc_Start(void); extern int Proc_Clone(Uint *Err, Uint Flags); #endif