Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
db.h
Go to the documentation of this file.
1#ifndef DB_H
2#define DB_H
3
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10#define OS_DBINTERFACE_ADDR 0x00000040
11
12typedef struct DBInterface {
13 /* 0x0 */ u32 bPresent;
14 /* 0x4 */ u32 exceptionMask;
16 /* 0xC */ void* exceptionReturn;
18
20
21void DBInit(void);
25void DBPrintf(char* format, ...);
26void DBInitComm(vu8**, AmcEXICallback); // possibly not this type, but some similar construction
27void DBInitInterrupts();
29BOOL DBRead(void*, u32);
30BOOL DBWrite(const void*, u32);
31void DBOpen();
32void DBClose();
33
34#ifdef __cplusplus
35}
36#endif
37
38#endif /* DB_H */
__OSInterruptHandler AmcEXICallback
Definition AmcExi2Stubs.h:10
u8 __OSException
Definition OSError.h:53
T cLib_calcTimer(T *value)
Definition c_lib.h:74
DBInterface * __DBInterface
BOOL __DBIsExceptionMarked(__OSException)
Definition db.c:39
void __DBExceptionDestination(void)
Definition db.c:28
void __DBExceptionDestinationAux(void)
Definition db.c:17
void DBInitInterrupts()
Definition DebuggerDriver.c:235
void DBInit(void)
Definition db.c:10
void DBPrintf(char *format,...)
Definition db.c:46
u32 DBQueryData()
Definition DebuggerDriver.c:259
void DBInitComm(vu8 **, AmcEXICallback)
BOOL DBWrite(const void *, u32)
void DBOpen()
Definition DebuggerDriver.c:319
void DBClose()
Definition DebuggerDriver.c:322
BOOL DBRead(void *, u32)
Definition db.h:12
void * exceptionReturn
Definition db.h:16
u32 bPresent
Definition db.h:13
u32 exceptionMask
Definition db.h:14
void(* ExceptionDestination)(void)
Definition db.h:15
int BOOL
Definition types.h:27
volatile u8 vu8
Definition types.h:13
unsigned long u32
Definition types.h:10