diff options
author | YamaArashi <shadow962@live.com> | 2016-01-03 06:40:10 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-01-03 06:40:10 -0800 |
commit | 9d535add1e9af30737fbc3930c98ab3b16710431 (patch) | |
tree | 98ed301369fec68ef80b3c18d243491c732d7685 /c/include/global.h | |
parent | 54c7ef9fc69e8dc8ebe953613cc1452cd00d3f75 (diff) |
c source code for malloc.c
Diffstat (limited to 'c/include/global.h')
-rw-r--r-- | c/include/global.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/c/include/global.h b/c/include/global.h new file mode 100644 index 000000000..4354c8651 --- /dev/null +++ b/c/include/global.h @@ -0,0 +1,20 @@ +typedef unsigned char u8; +typedef unsigned short u16; +typedef unsigned int u32; +typedef signed char s8; +typedef signed short s16; +typedef signed int s32; + +typedef u8 bool8; +typedef u16 bool16; +typedef u32 bool32; + +#define NULL (void *)0 + +#define TRUE 1 +#define FALSE 0 + +#define CPU_SET_SRC_FIX (1 << 24) +#define CPU_SET_32BIT (1 << 26) + +extern void CpuSet(void *src, void *dest, u32 controlData); |