Kernel - Slight reworks to timer code
[tpg/acess2.git] / Kernel / arch / x86_64 / include / proc.h
index a23aa37..dad8f06 100644 (file)
@@ -33,6 +33,12 @@ typedef struct sMemoryState
        tPAddr  CR3;
 }      tMemoryState;
 
+// 512 bytes, 16 byte aligned
+typedef struct sSSEState
+{
+       char    data[512];
+} tSSEState;
+
 /**
  * \brief Task state for thread handler
  */
@@ -40,10 +46,13 @@ typedef struct sTaskState
 {
        Uint    RIP, RSP;
        Uint64  UserRIP, UserCS;
+       tSSEState       *SSE;
+        int    bSSEModified;
 }      tTaskState;
 
 // === CONSTANTS ===
-#define KERNEL_STACK_SIZE      0x10000 // 64 KiB
+#define KERNEL_STACK_SIZE      0x8000  // 32 KiB
+//#define KERNEL_STACK_SIZE    0x10000 // 64 KiB
 
 #endif
 

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