X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=AcessNative%2Facesskernel_src%2Finclude%2Farch.h;h=b63d1bb217287c73f03733e8fe235291fb74c332;hb=c1cd68cf43a7d4e8bb2d9c79156cdc2ba25fe53e;hp=d67b67347058deb0739efe8a6f5baac04a9cd179;hpb=c0758a3d1053010f2c6f122365acde3efda2ba77;p=tpg%2Facess2.git diff --git a/AcessNative/acesskernel_src/include/arch.h b/AcessNative/acesskernel_src/include/arch.h index d67b6734..b63d1bb2 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,10 @@ struct sShortSpinlock #define SHORTLOCK(...) #define SHORTREL(...) +//#define NUM_CFG_ENTRIES 10 + +extern void Debug_PutCharDebug(char ch); +extern void Debug_PutStringDebug(const char *str); + #endif