SSBM Decomp
|
#include "hio.h"
#include <dolphin/os/OSContext.h>
#include <dolphin/os/OSExi.h>
#include <dolphin/os/OSInit.h>
#include <dolphin/os/OSInterrupt.h>
Functions | |
static void | ExtHandler (s32 chan, OSContext *context) |
static void | ExiHandler (s32 chan, OSContext *context) |
static void | DbgHandler (__OSInterrupt interrupt, OSContext *context) |
static void | TxHandler (s32 chan, OSContext *context) |
static void | RxHandler (s32 chan, OSContext *context) |
bool | HIOEnumDevices (HIOEnumCallback callback) |
bool | HIOInit (s32 chan, HIOCallback callback) |
bool | HIOReadMailbox (u32 *word) |
bool | HIOWriteMailbox (u32 word) |
bool | HIORead (u32 addr, void *buffer, s32 size) |
bool | HIOWrite (u32 addr, void *buffer, s32 size) |
bool | HIOReadAsync (u32 addr, void *buffer, s32 size, HIOCallback callback) |
bool | HIOWriteAsync (u32 addr, void *buffer, s32 size, HIOCallback callback) |
bool | HIOReadStatus (u32 *status) |
Variables | |
static s32 | Chan = -1 |
static unsigned long | Dev |
static HIOCallback | ExiCallback |
static HIOCallback | TxCallback |
static HIOCallback | RxCallback |
|
static |
bool HIOEnumDevices | ( | HIOEnumCallback | callback | ) |
bool HIOInit | ( | s32 | chan, |
HIOCallback | callback | ||
) |
bool HIOReadAsync | ( | u32 | addr, |
void * | buffer, | ||
s32 | size, | ||
HIOCallback | callback | ||
) |
bool HIOWriteAsync | ( | u32 | addr, |
void * | buffer, | ||
s32 | size, | ||
HIOCallback | callback | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |