X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=AcessNative%2Facesskernel_src%2Finclude%2Farch.h;h=849eba8258c58d36c788bc380bb93577735389bb;hb=refs%2Ftags%2Frel0.12;hp=e98578907a201446b8ed26c8b7a8139153a88c1b;hpb=b5a1402b18d2f8cb360bf2fc524609b374bac8ec;p=tpg%2Facess2.git diff --git a/AcessNative/acesskernel_src/include/arch.h b/AcessNative/acesskernel_src/include/arch.h index e9857890..849eba82 100644 --- a/AcessNative/acesskernel_src/include/arch.h +++ b/AcessNative/acesskernel_src/include/arch.h @@ -4,8 +4,9 @@ #define _ARCH_H_ #include -#include - +//#include +#include +#undef CLONE_VM #define _MODULE_NAME_ "NativeKernel" #define BITS (sizeof(intptr_t)*8) @@ -25,13 +26,23 @@ typedef intptr_t Uint; typedef intptr_t tVAddr; typedef intptr_t tPAddr; +typedef int BOOL; + +//typedef uint32_t tTID; +//typedef uint32_t tPID; +//typedef uint32_t tUID; +//typedef uint32_t tGID; + struct sShortSpinlock { - int Lock; + int IsValid; + pthread_mutex_t Mutex; }; #define SHORTLOCK(...) #define SHORTREL(...) +//#define NUM_CFG_ENTRIES 10 + #endif