summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMax <mparisi@stevens.edu>2020-10-24 15:07:58 -0400
committerMax <mparisi@stevens.edu>2020-10-24 15:07:58 -0400
commit8f73a39edf782bd2e6c91130aac685b8dd267001 (patch)
treec72f79d6b07db5e91579d60cbc1cb21f37dec1c0 /include
parentb4751c259e3bc0bb166cffc54061c7d9577ba0dc (diff)
match up to func_801DC0C8 with two nonmatchings
Diffstat (limited to 'include')
-rw-r--r--include/SDK/DVD/dvd.h14
-rw-r--r--include/SDK/NAND/NANDCore.h14
-rw-r--r--include/SDK/OS/OSCache.h1
-rw-r--r--include/SDK/OS/OSInterrupt.h15
-rw-r--r--include/SDK/dvd.h14
-rw-r--r--include/SDK/nand.h14
-rw-r--r--include/SDK/os.h1
7 files changed, 73 insertions, 0 deletions
diff --git a/include/SDK/DVD/dvd.h b/include/SDK/DVD/dvd.h
new file mode 100644
index 0000000..16b8623
--- /dev/null
+++ b/include/SDK/DVD/dvd.h
@@ -0,0 +1,14 @@
+#ifndef POKEREVO_DVD_DVD_H
+#define POKEREVO_DVD_DVD_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+u32 DVDGetCurrentDiskID(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //POKEREVO_DVD_DVD_H
diff --git a/include/SDK/NAND/NANDCore.h b/include/SDK/NAND/NANDCore.h
new file mode 100644
index 0000000..0f2811f
--- /dev/null
+++ b/include/SDK/NAND/NANDCore.h
@@ -0,0 +1,14 @@
+#ifndef POKEREVO_NANDCORE_H
+#define POKEREVO_NANDCORE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+s32 NANDInit(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //POKEREVO_NANDCORE_H
diff --git a/include/SDK/OS/OSCache.h b/include/SDK/OS/OSCache.h
index a6fb490..75dd2ca 100644
--- a/include/SDK/OS/OSCache.h
+++ b/include/SDK/OS/OSCache.h
@@ -5,6 +5,7 @@
extern "C" {
#endif
+void DCInvalidateRange(void* startAddr, u32 nBytes);
void LCEnable(void);
#define LC_BASE (0xE000 << 16)
#define LCGetBase() ((void*)LC_BASE)
diff --git a/include/SDK/OS/OSInterrupt.h b/include/SDK/OS/OSInterrupt.h
new file mode 100644
index 0000000..9bb3bda
--- /dev/null
+++ b/include/SDK/OS/OSInterrupt.h
@@ -0,0 +1,15 @@
+#ifndef POKEREVO_OSINTERRUPT_H
+#define POKEREVO_OSINTERRUPT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void OSDisableInterrupts(void);
+void OSRestoreInterrupts(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //POKEREVO_OSINTERRUPT_H
diff --git a/include/SDK/dvd.h b/include/SDK/dvd.h
new file mode 100644
index 0000000..1536458
--- /dev/null
+++ b/include/SDK/dvd.h
@@ -0,0 +1,14 @@
+#ifndef POKEREVO_DVD_H
+#define POKEREVO_DVD_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "SDK/DVD/dvd.h"
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //POKEREVO_DVD_H
diff --git a/include/SDK/nand.h b/include/SDK/nand.h
new file mode 100644
index 0000000..c20ee68
--- /dev/null
+++ b/include/SDK/nand.h
@@ -0,0 +1,14 @@
+#ifndef POKEREVO_NAND_H
+#define POKEREVO_NAND_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "SDK/NAND/NANDCore.h"
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //POKEREVO_NAND_H
diff --git a/include/SDK/os.h b/include/SDK/os.h
index 10d4153..0d31901 100644
--- a/include/SDK/os.h
+++ b/include/SDK/os.h
@@ -7,6 +7,7 @@ extern "C" {
#include "SDK/OS/OSAlloc.h"
#include "SDK/OS/OSCache.h"
+#include "SDK/OS/OSInterrupt.h"
#ifdef __cplusplus
}