prime/include/dolphin/db.h

32 lines
550 B
C
Raw Normal View History

#ifndef _DOLPHIN_DB
#define _DOLPHIN_DB
2022-03-23 21:22:48 +00:00
#include "types.h"
#ifdef __cplusplus
extern "C" {
#endif
2022-10-13 16:33:30 +00:00
#define OS_DBINTERFACE_ADDR 0x00000040
2022-03-23 21:22:48 +00:00
2022-10-13 16:33:30 +00:00
typedef struct DBInterface
{
u32 bPresent;
u32 exceptionMask;
void (*ExceptionDestination) ( void );
void *exceptionReturn;
} DBInterface;
2022-03-23 21:22:48 +00:00
2022-10-13 16:33:30 +00:00
extern DBInterface* __DBInterface;
2022-03-23 21:22:48 +00:00
void DBInit(void);
void DBInitComm(int* inputFlagPtr, int* mtrCallback);
static void __DBExceptionDestination(void);
2022-11-03 08:19:58 +00:00
void DBPrintf(char* format, ...);
2022-03-23 21:22:48 +00:00
#ifdef __cplusplus
}
#endif
#endif // _DOLPHIN_DB