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

Function writecmdLong

src/dolphin/src/eth/eth.c:199–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199static void writecmdLong(u16 cmd, void* addr, s32 length) {
200 u32 ethcmd = 0xC0000000 | (cmd << 8);
201 EXISelect(0, 2, 5);
202 EXIImm(0, &ethcmd, sizeof(ethcmd), EXI_WRITE, NULL);
203 EXISync(0);
204 EXIImmEx(0, addr, length, EXI_WRITE);
205 EXIDeselect(0);
206}
207
208static u8 readcmd(u16 cmd) {
209 u8 val;

Callers 5

writecmdFunction · 0.85
recvinitFunction · 0.85
writecmd16Function · 0.85
ETHSetMACAddrFunction · 0.85
unlockFunction · 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