diff options
author | YamaArashi <shadow962@live.com> | 2016-01-06 18:57:32 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-01-06 18:57:32 -0800 |
commit | d35478a39840f150ddda9d0a1d44187f366f86c5 (patch) | |
tree | 74955b4692a2d904672f8e7dc1a74500371bde80 /include/global.h | |
parent | 9da6dee38eed0d9b8470b36653f42b896c2a3ea2 (diff) |
move C files
Diffstat (limited to 'include/global.h')
-rw-r--r-- | include/global.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h new file mode 100644 index 000000000..4354c8651 --- /dev/null +++ b/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); |