summaryrefslogtreecommitdiff
path: root/include/gba/syscall.h
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-01-08 12:49:23 -0800
committerYamaArashi <shadow962@live.com>2016-01-08 12:49:23 -0800
commitbc10815b94083bde9a4fa034a647e294ce2022cc (patch)
treea3cbf873d5bf1c720402c45a7f718fb744230da1 /include/gba/syscall.h
parentb06f500539b64acb7db2bc7daa439be4a2cad2f2 (diff)
reorganize headers and add CpuFill macros
Diffstat (limited to 'include/gba/syscall.h')
-rw-r--r--include/gba/syscall.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/gba/syscall.h b/include/gba/syscall.h
new file mode 100644
index 000000000..0f4198b44
--- /dev/null
+++ b/include/gba/syscall.h
@@ -0,0 +1,10 @@
+#ifndef GUARD_GBA_SYSCALL_H
+#define GUARD_GBA_SYSCALL_H
+
+#define CPU_SET_SRC_FIXED 0x01000000
+#define CPU_SET_16BIT 0x00000000
+#define CPU_SET_32BIT 0x04000000
+
+extern void CpuSet(void *src, void *dest, u32 controlData);
+
+#endif // GUARD_GBA_SYSCALL_H