mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-04 16:42:14 +02:00
bad dec to hex conversion at line 91
This commit is contained in:
parent
0674839e89
commit
9337162f99
@ -88,7 +88,7 @@ void bootup_misc_mmio(void) {
|
|||||||
/* disable security carveout - SECURITY_CFG0_0, CFG1_0, CFG3_0 */
|
/* disable security carveout - SECURITY_CFG0_0, CFG1_0, CFG3_0 */
|
||||||
mc_register->SECURITY_BOM = 0;
|
mc_register->SECURITY_BOM = 0;
|
||||||
mc_register->SECURITY_SIZE_MB = 0;
|
mc_register->SECURITY_SIZE_MB = 0;
|
||||||
mc_register->SECURITY_BOM_HI = 0x11;
|
mc_register->SECURITY_BOM_HI = 3;
|
||||||
|
|
||||||
configure_default_carveouts();
|
configure_default_carveouts();
|
||||||
|
|
||||||
@ -150,7 +150,7 @@ void bootup_misc_mmio(void) {
|
|||||||
(void)(mc_register->SMMU_TLB_CONFIG_0);
|
(void)(mc_register->SMMU_TLB_CONFIG_0);
|
||||||
mc_register->SMMU_TLB_FLUSH_0 = 0;
|
mc_register->SMMU_TLB_FLUSH_0 = 0;
|
||||||
(void)(mc_register->SMMU_TLB_CONFIG_0);
|
(void)(mc_register->SMMU_TLB_CONFIG_0);
|
||||||
mc_register->SMMU_CONFIG_0 = 0x1; /* enable SMMU */
|
mc_register->SMMU_CONFIG_0 = 1; /* enable SMMU */
|
||||||
(void)(mc_register->SMMU_TLB_CONFIG_0);
|
(void)(mc_register->SMMU_TLB_CONFIG_0);
|
||||||
|
|
||||||
/* Clear RESET Vector, setup CPU Secure Boot RESET Vectors. */
|
/* Clear RESET Vector, setup CPU Secure Boot RESET Vectors. */
|
||||||
|
Loading…
Reference in New Issue
Block a user