More work on x86_64 port of usermode
[tpg/acess2.git] / Kernel / arch / x86_64 / include / proc.h
index c92ce7e..94d2127 100644 (file)
@@ -14,10 +14,12 @@ typedef struct {
        // MMX
        // FPU
        Uint    FS, GS;
+       
        Uint    RAX, RCX, RDX, RBX;
     Uint       KernelRSP, RBP, RSI, RDI;
        Uint    R8,  R9,  R10, R11;
        Uint    R12, R13, R14, R15;
+       
     Uint       IntNum, ErrorCode;
     Uint       RIP, CS;
        Uint    RFlags, RSP, SS;
@@ -39,5 +41,12 @@ typedef struct sTaskState
        Uint    RIP, RSP, RBP;
 }      tTaskState;
 
+// === CONSTANTS ===
+#define KERNEL_STACK_SIZE      0x10000 // 64 KiB
+
+// === FUNCTIONS ===
+extern void    Proc_Start(void);
+extern int     Proc_Clone(Uint *Err, Uint Flags);
+
 #endif
 

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