X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Farch%2Fx86_64%2Finclude%2Fmm_virt.h;h=b03875fbbf4bd815861a05b57e917fa300d2b6ee;hb=HEAD;hp=6cf25f025e3bbc0e2a4826886e48efe8951988e1;hpb=51ab5f489bc356940c95cc936fd0508e8f07ea97;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/arch/x86_64/include/mm_virt.h b/KernelLand/Kernel/arch/x86_64/include/mm_virt.h index 6cf25f02..b03875fb 100644 --- a/KernelLand/Kernel/arch/x86_64/include/mm_virt.h +++ b/KernelLand/Kernel/arch/x86_64/include/mm_virt.h @@ -48,6 +48,7 @@ #define MM_USER_MIN 0x00000000##00010000 #define USER_LIB_MAX 0x00007000##00000000 +#define MM_USER_MAX USER_LIB_MAX #define USER_STACK_PREALLOC 0x00000000##00002000 // 8 KiB #define USER_STACK_SZ 0x00000000##00020000 // 64 KiB #define USER_STACK_TOP 0x00008000##00000000 @@ -84,7 +85,7 @@ // === FUNCTIONS === void MM_FinishVirtualInit(void); tVAddr MM_NewKStack(void); -tVAddr MM_Clone(void); +tVAddr MM_Clone(int bCopyUser); tVAddr MM_NewWorkerStack(void *StackData, size_t StackSize); #endif