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

Function readcmdLong

src/dolphin/src/eth/eth.c:188–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188static void readcmdLong(u16 cmd, void* addr, s32 length) {
189 u32 ethcmd;
190
191 ethcmd = 0x80000000 | (cmd << 8);
192 EXISelect(0, 2, 5);
193 EXIImm(0, &ethcmd, sizeof(ethcmd), EXI_WRITE, NULL);
194 EXISync(0);
195 EXIImmEx(0, addr, length, EXI_READ);
196 EXIDeselect(0);
197}
198
199static void writecmdLong(u16 cmd, void* addr, s32 length) {
200 u32 ethcmd = 0xC0000000 | (cmd << 8);

Callers 5

readcmdFunction · 0.85
getdescriptorFunction · 0.85
readcmd16Function · 0.85
recvsub1Function · 0.85
ETHInitFunction · 0.85

Calls 5

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

Tested by

no test coverage detected