mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -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
|
@ -58,8 +58,8 @@ namespace ams::sc7fw {
|
|||
|
||||
void EnterSc7() {
|
||||
/* Disable read buffering and write buffering in the BPMP cache. */
|
||||
reg::ReadWrite(AVP_CACHE_ADDRESS(AVP_CACHE_CONFIG), AVP_CACHE_REG_BITS_ENUM(DISABLE_WB, TRUE),
|
||||
AVP_CACHE_REG_BITS_ENUM(DISABLE_RB, TRUE));
|
||||
reg::ReadWrite(AVP_CACHE_ADDR(AVP_CACHE_CONFIG), AVP_CACHE_REG_BITS_ENUM(CONFIG_DISABLE_WB, TRUE),
|
||||
AVP_CACHE_REG_BITS_ENUM(CONFIG_DISABLE_RB, TRUE));
|
||||
|
||||
/* Ensure the CPU Rail is turned off. */
|
||||
DisableCrail();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue