MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / TLBWR

Function TLBWR

pcsx2/COP0.cpp:439–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437 }
438
439 void TLBWR()
440 {
441 const u8 j = cpuRegs.CP0.n.Random & 0x3f;
442
443 if (j > 47)
444 {
445 Console.Warning("TLBWR with random > 47! (%d)", j);
446 return;
447 }
448
449 DevCon.Warning("COP0_TLBWR %d:%x,%x,%x,%x\n",
450 cpuRegs.CP0.n.Random, cpuRegs.CP0.n.PageMask, cpuRegs.CP0.n.EntryHi,
451 cpuRegs.CP0.n.EntryLo0, cpuRegs.CP0.n.EntryLo1);
452
453 UnmapTLB(tlb[j], j);
454 WriteTLB(j);
455 }
456
457 void TLBP()
458 {

Callers

nothing calls this directly

Calls 3

UnmapTLBFunction · 0.85
WriteTLBFunction · 0.85
WarningMethod · 0.45

Tested by

no test coverage detected