mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-03 08:08:39 -04:00
exo2: address volca review commentary
This commit is contained in:
parent
da4107996a
commit
6780b096ca
5 changed files with 8 additions and 6 deletions
|
@ -36,7 +36,7 @@ namespace ams::secmon::loader {
|
|||
void Uncompress() {
|
||||
while (true) {
|
||||
/* Read a control byte. */
|
||||
u8 control = this->ReadByte();
|
||||
const u8 control = this->ReadByte();
|
||||
|
||||
/* Copy what it specifies we should copy. */
|
||||
this->Copy(this->GetCopySize(control >> 4));
|
||||
|
|
|
@ -791,8 +791,8 @@ namespace ams::secmon {
|
|||
|
||||
void DisableArc() {
|
||||
/* Configure IRAM top/bottom to point to memory ends (disabling redirection). */
|
||||
reg::Write(MC + MC_IRAM_BOM, (~0u) & MC_IRAM_BOM_WRITE_MASK);
|
||||
reg::Write(MC + MC_IRAM_TOM, ( 0u) & MC_IRAM_TOM_WRITE_MASK);
|
||||
reg::Write(MC + MC_IRAM_BOM, MC_REG_BITS_VALUE(IRAM_BOM_IRAM_BOM, (~0u)));
|
||||
reg::Write(MC + MC_IRAM_TOM, MC_REG_BITS_VALUE(IRAM_TOM_IRAM_TOM, ( 0u)));
|
||||
|
||||
/* Lock the IRAM aperture. */
|
||||
reg::ReadWrite(MC + MC_IRAM_REG_CTRL, MC_REG_BITS_ENUM(IRAM_REG_CTRL_IRAM_CFG_WRITE_ACCESS, DISABLED));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue