X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=AcessNative%2Facesskernel_src%2Finclude%2Farch.h;h=f51353069402581bff63b058ea86cc90ce4a1811;hb=c84c6acf1e8be4fb6e76ef0f8fd275400be8d5ae;hp=8f0eb796eac89abe0a69b8e500a1e9093f746119;hpb=02cbaac1233be9c5228973a787431fa5e0aa178e;p=tpg%2Facess2.git diff --git a/AcessNative/acesskernel_src/include/arch.h b/AcessNative/acesskernel_src/include/arch.h index 8f0eb796..f5135306 100644 --- a/AcessNative/acesskernel_src/include/arch.h +++ b/AcessNative/acesskernel_src/include/arch.h @@ -4,11 +4,12 @@ #define _ARCH_H_ #include -#include +//#include #include #undef CLONE_VM #define _MODULE_NAME_ "NativeKernel" +#define PAGE_SIZE 0x1000 // Assume, making an Ass out of u and me #define BITS (sizeof(intptr_t)*8) typedef uint8_t Uint8; @@ -26,6 +27,8 @@ typedef intptr_t Uint; typedef intptr_t tVAddr; typedef intptr_t tPAddr; +typedef int BOOL; + struct sShortSpinlock { int IsValid; @@ -35,5 +38,7 @@ struct sShortSpinlock #define SHORTLOCK(...) #define SHORTREL(...) +//#define NUM_CFG_ENTRIES 10 + #endif