MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / writeEXIcmd

Function writeEXIcmd

src/dolphin/src/eth/eth.c:152–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152static void writeEXIcmd(u8 cmd, u8 imr) {
153 BOOL ret;
154 u16 ethcmd;
155
156 ethcmd = 0x4000 | (cmd << 8);
157 ret = EXISelect(0, 2, 5);
158 EXIImm(0, &ethcmd, sizeof(ethcmd), EXI_WRITE, NULL);
159 EXISync(0);
160 EXIImm(0, &imr, sizeof(imr), EXI_WRITE, NULL);
161 EXISync(0);
162 EXIDeselect(0);
163}
164
165static void readEXIcmdLong(u8 cmd, void* address, s32 length) {
166 u16 ethcmd;

Callers 4

recvsub1Function · 0.85
patchthruFunction · 0.85
exiinthandlerFunction · 0.85
ETHInitFunction · 0.85

Calls 4

EXISelectFunction · 0.85
EXIImmFunction · 0.85
EXISyncFunction · 0.85
EXIDeselectFunction · 0.85

Tested by

no test coverage detected