summaryrefslogtreecommitdiff
path: root/include/MetroTRK
diff options
context:
space:
mode:
Diffstat (limited to 'include/MetroTRK')
-rw-r--r--include/MetroTRK/dolphin_trk.h8
-rw-r--r--include/MetroTRK/intrinsics.h12
-rw-r--r--include/MetroTRK/mem_TRK.h10
3 files changed, 30 insertions, 0 deletions
diff --git a/include/MetroTRK/dolphin_trk.h b/include/MetroTRK/dolphin_trk.h
new file mode 100644
index 0000000..9cbc683
--- /dev/null
+++ b/include/MetroTRK/dolphin_trk.h
@@ -0,0 +1,8 @@
+#ifndef METROTRK_DOLPHIN_TRK_H
+#define METROTRK_DOLPHIN_TRK_H
+
+#include <Runtime/platform.h>
+
+void EnableMetroTRKInterrupts(void);
+
+#endif
diff --git a/include/MetroTRK/intrinsics.h b/include/MetroTRK/intrinsics.h
new file mode 100644
index 0000000..d9b067f
--- /dev/null
+++ b/include/MetroTRK/intrinsics.h
@@ -0,0 +1,12 @@
+#ifndef METROTRK_INTRINSICS_H
+#define METROTRK_INTRINSICS_H
+
+void __sync(void);
+void __isync(void);
+int __cntlzw(unsigned int);
+float sqrtf__Ff(float);
+float __fnmsubs(float, float, float);
+double __fabs(double);
+float __fabsf(float);
+
+#endif
diff --git a/include/MetroTRK/mem_TRK.h b/include/MetroTRK/mem_TRK.h
new file mode 100644
index 0000000..bd1946a
--- /dev/null
+++ b/include/MetroTRK/mem_TRK.h
@@ -0,0 +1,10 @@
+#ifndef __MEM_TRK_H__
+#define __MEM_TRK_H__
+
+#include <Runtime/platform.h>
+
+SECTION_INIT void* TRK_memcpy(void* dst, const void* src, unsigned long n);
+
+SECTION_INIT void* TRK_memset(void* dst, int val, unsigned long n);
+
+#endif