Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
dolphin_trk_glue.h
Go to the documentation of this file.
1#ifndef OS_DOLPHIN_DOLPHIN_TRK_GLUE_H
2#define OS_DOLPHIN_DOLPHIN_TRK_GLUE_H
3
4#include "dolphin/os.h"
5#include "trk.h"
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11typedef int (*DBCommFunc)();
13typedef int (*DBCommReadFunc)(u8*, int);
14typedef int (*DBCommWriteFunc)(const u8*, int);
15
28
30void ReserveEXI2Port();
31UARTError TRKWriteUARTN(const void*, u32);
34
35#ifdef __cplusplus
36}
37#endif
38
39
40#endif /* OS_DOLPHIN_DOLPHIN_TRK_GLUE_H */
void(* __OSInterruptHandler)(__OSInterrupt interrupt, OSContext *context)
Definition OSInterrupt.h:112
T cLib_calcTimer(T *value)
Definition c_lib.h:74
int(* DBCommWriteFunc)(const u8 *, int)
Definition dolphin_trk_glue.h:14
void UnreserveEXI2Port()
Definition dolphin_trk_glue.c:125
int(* DBCommFunc)()
Definition dolphin_trk_glue.h:11
void ReserveEXI2Port()
Definition dolphin_trk_glue.c:120
UARTError TRKWriteUARTN(const void *, u32)
Definition dolphin_trk_glue.c:114
int(* DBCommReadFunc)(u8 *, int)
Definition dolphin_trk_glue.h:13
void TRKLoadContext(OSContext *ctx, u32 r4)
Definition dolphin_trk_glue.c:149
int(* DBCommInitFunc)(void *, __OSInterruptHandler)
Definition dolphin_trk_glue.h:12
int InitMetroTRKCommTable(int hwId)
Definition dolphin_trk_glue.c:25
Definition dolphin_trk_glue.h:16
DBCommFunc open_func
Definition dolphin_trk_glue.h:23
DBCommFunc init_interrupts_func
Definition dolphin_trk_glue.h:18
DBCommFunc shutdown_func
Definition dolphin_trk_glue.h:19
DBCommFunc close_func
Definition dolphin_trk_glue.h:24
DBCommReadFunc read_func
Definition dolphin_trk_glue.h:21
DBCommFunc peek_func
Definition dolphin_trk_glue.h:20
DBCommWriteFunc write_func
Definition dolphin_trk_glue.h:22
DBCommFunc post_stop_func
Definition dolphin_trk_glue.h:26
DBCommInitFunc initialize_func
Definition dolphin_trk_glue.h:17
DBCommFunc pre_continue_func
Definition dolphin_trk_glue.h:25
Definition OSContext.h:137
int UARTError
Definition trk.h:168
unsigned long u32
Definition types.h:10
unsigned char u8
Definition types.h:8