X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86_64%2Finclude%2Fproc.h;h=dad8f0610789262db0cb5a64a2094ca1f42922ff;hb=a2495c6ea4f4cab16b5d339ae511428e92e89e73;hp=a23aa37aa9262a37dbb50027c84a8a0e8466d32d;hpb=d1d3bfa26bd78e298ad2431c4f86e2ea94515aab;p=tpg%2Facess2.git diff --git a/Kernel/arch/x86_64/include/proc.h b/Kernel/arch/x86_64/include/proc.h index a23aa37a..dad8f061 100644 --- a/Kernel/arch/x86_64/include/proc.h +++ b/Kernel/arch/x86_64/include/proc.h @@ -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