diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/SDK/DVD/dvd.h | 14 | ||||
-rw-r--r-- | include/SDK/NAND/NANDCore.h | 14 | ||||
-rw-r--r-- | include/SDK/OS/OSCache.h | 1 | ||||
-rw-r--r-- | include/SDK/OS/OSInterrupt.h | 15 | ||||
-rw-r--r-- | include/SDK/dvd.h | 14 | ||||
-rw-r--r-- | include/SDK/nand.h | 14 | ||||
-rw-r--r-- | include/SDK/os.h | 1 |
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
}
|