summaryrefslogtreecommitdiff
path: root/include/dolphin/db.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dolphin/db.h')
-rw-r--r--include/dolphin/db.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/dolphin/db.h b/include/dolphin/db.h
new file mode 100644
index 0000000..08851a4
--- /dev/null
+++ b/include/dolphin/db.h
@@ -0,0 +1,31 @@
+#ifndef _DOLPHIN_DB
+#define _DOLPHIN_DB
+
+#include "types.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define OS_DBINTERFACE_ADDR 0x00000040
+
+typedef struct DBInterface
+{
+ u32 bPresent;
+ u32 exceptionMask;
+ void (*ExceptionDestination) ( void );
+ void *exceptionReturn;
+} DBInterface;
+
+extern DBInterface* __DBInterface;
+
+void DBInit(void);
+void DBInitComm(int* inputFlagPtr, int* mtrCallback);
+static void __DBExceptionDestination(void);
+void DBPrintf(char* format, ...);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // _DOLPHIN_DB