Kernel - Reworked x86 physical memory allocation
[tpg/acess2.git] / Kernel / arch / x86 / include / proc.h
index 6619ec0..e31c76d 100644 (file)
@@ -5,13 +5,9 @@
 #ifndef _PROC_H
 #define _PROC_H
 
-#include <threads.h>
-
-// === CONSTANTS ===
-#define GETMSG_IGNORE  ((void*)-1)
-
-// === TYPES ===
+#include <threads_int.h>
 
+// === 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

UCC git Repository :: git.ucc.asn.au