Phillip Stephens ffa313e7f4 Match and link OSCache
Former-commit-id: 2c8976221f0c082c66a4cd4200bb411d35281cf0
2022-11-03 01:19:58 -07:00

32 lines
550 B
C

#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