General fixes
[tpg/acess2.git] / Kernel / arch / x86 / include / proc.h
index 6619ec0..2b04b75 100644 (file)
@@ -7,11 +7,7 @@
 
 #include <threads.h>
 
-// === 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

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