From d35478a39840f150ddda9d0a1d44187f366f86c5 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Wed, 6 Jan 2016 18:57:32 -0800 Subject: move C files --- include/global.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/global.h (limited to 'include') 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); -- cgit v1.2.3