prime/include/dolphin/db.h

31 lines
516 B
C
Raw Normal View History

#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);
#ifdef __cplusplus
}
#endif
#endif // _DOLPHIN_DB