mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 03:06:52 -04:00
fusee_cpp: cache cleanup, confirmed working on hardware
This commit is contained in:
parent
5cff5e629b
commit
e7d7d8adfb
9 changed files with 110 additions and 121 deletions
|
@ -96,6 +96,9 @@ namespace ams::clkrst {
|
|||
DEFINE_CLOCK_PARAMETERS_WITHOUT_CLKDIV(Sor0Clock, X, SOR0);
|
||||
DEFINE_CLOCK_PARAMETERS_WITHOUT_CLKDIV(KfuseClock, H, KFUSE);
|
||||
|
||||
DEFINE_CLOCK_PARAMETERS_WITHOUT_CLKDIV(Cache2Clock, L, CACHE2);
|
||||
DEFINE_CLOCK_PARAMETERS_WITHOUT_CLKDIV(Cram2Clock, U, CRAM2);
|
||||
|
||||
}
|
||||
|
||||
void SetRegisterAddress(uintptr_t address) {
|
||||
|
@ -145,6 +148,14 @@ namespace ams::clkrst {
|
|||
EnableClock(TzramClock);
|
||||
}
|
||||
|
||||
void EnableCache2Clock() {
|
||||
EnableClock(Cache2Clock);
|
||||
}
|
||||
|
||||
void EnableCram2Clock() {
|
||||
EnableClock(Cram2Clock);
|
||||
}
|
||||
|
||||
void EnableHost1xClock() {
|
||||
EnableClock(Host1xClock);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue