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

Function L2Init

src/dolphin/src/os/OSCache.c:175–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175inline void L2Init(void)
176{
177 u32 oldMSR;
178 oldMSR = PPCMfmsr();
179 __sync();
180 PPCMtmsr(MSR_IR | MSR_DR);
181 __sync();
182 L2Disable();
183 L2GlobalInvalidate();
184 PPCMtmsr(oldMSR);
185}
186
187void DMAErrorHandler(OSError error, OSContext* context, ...)
188{

Callers 1

__OSCacheInitFunction · 0.85

Calls 3

PPCMfmsrFunction · 0.85
PPCMtmsrFunction · 0.85
L2GlobalInvalidateFunction · 0.85

Tested by

no test coverage detected