CONFIG9 Registers: Difference between revisions
No edit summary |
No edit summary |
||
Line 52: | Line 52: | ||
* Selecting CTRCARD2 will activate the register space at [[CTRCARD|0x10005000]]. | * Selecting CTRCARD2 will activate the register space at [[CTRCARD|0x10005000]]. | ||
== Hidden bootrom off-switch == | == 0x10000000, Hidden bootrom off-switch == | ||
ARM9 bootrom 0xFFFF8000+ is disabled by writing 1 to (u8*)0x10000000 and 1 to (u8*)0x10000001? | ARM9 bootrom 0xFFFF8000+ is disabled by writing 1 to (u8*)0x10000000 and 1 to (u8*)0x10000001? | ||
Writing values here(u8 0x10000000+0) sets the specified bitmask. Thus, writing value 0x2 when the register(u8 0x10000000+0) was previously set to value 0x1 changes the value to 0x3. During the NATIVE_FIRM ARM9 kernel startup, it will check if bitmask 0x2 in this register is set. If that bitmask is not set, the console-unique portions of the two console-unique TWL keyslots are then initialized. The kernel then writes value 0x2 to this register, regardless of the previous bitmask value(due to this, the console-unique TWL key-data init is only done at hard-boot). | |||
== 0x10010000 == | == 0x10010000 == |