Line 47: |
Line 47: |
| | KERNEL_CTRSDKVERSION | | | KERNEL_CTRSDKVERSION |
| | 0x1FF80018 | | | 0x1FF80018 |
| + | | 4 |
| + | |- |
| + | | FIRMLAUNCHFLAGS |
| + | | 0x1FF80020 |
| | 4 | | | 4 |
| |- | | |- |
Line 106: |
Line 110: |
| | 4 | | | 4 |
| |- | | |- |
− | | RUNNING_HW (1=product, 2=devboard, 3=debugger, 4=capture) | + | | RUNNING_HW (1=product, 2=devboard, 3=debugger, 4=capture, 5=?) |
| | 0x1FF81004 | | | 0x1FF81004 |
| | 1 | | | 1 |
Line 114: |
Line 118: |
| | 1 | | | 1 |
| |- | | |- |
− | | DATETIME_0 {(u64)MillisecondsSinceFirstJan1900,(u64)SystemTickLastTimeThisWasUpdated,(u32)unk,(u32)unk,(u32)unk,(u32)unk} | + | | DATETIME_0 {(u64)MillisecondsSinceFirstJan1900,(u64)SystemTickLastTimeThisWasUpdated,(u32)unk(set to 0xFFB0FF0 by PTM),(u32)Set to 0 by PTM,(u32)Set to 0 by PTM,(u32)set to 0 by PTM} |
| | 0x1FF81020 | | | 0x1FF81020 |
| | 32 | | | 32 |
Line 130: |
Line 134: |
| | 1 | | | 1 |
| |- | | |- |
− | | NETWORK_STATE The network state displayed by [[Home Menu]]. Enabled: 0, Internet: 2 | + | | NETWORK_STATE The network state displayed by [[Home Menu]]. 2: Internet, 3/4/6: Local, 7: Disabled, Everything else: Enabled |
| | 0x1FF81067 | | | 0x1FF81067 |
| | 1 | | | 1 |
Line 146: |
Line 150: |
| | 1 | | | 1 |
| |- | | |- |
− | | On startup, and under certain conditions, NS will continuously call svcSleepThread(1000*1000) as long as bit0 of this field is clear. ptmInitialize() sets this after writing MCU unit info to sharedmem. | + | | PTM sets bit0 to 1 when it has done writing MCU-originating hw info to [[#RUNNING_HW|RUNNING_HW]], [[#MCU_HW_INFO|MCU_HW_INFO]]. There are no other bits. |
| | 0x1FF81086 | | | 0x1FF81086 |
| | 1 | | | 1 |
Line 166: |
Line 170: |
| | | |
| This memory only exists under NATIVE_FIRM/SAFE_MODE_FIRM. | | This memory only exists under NATIVE_FIRM/SAFE_MODE_FIRM. |
| + | |
| = ARM11 Kernel Config Fields = | | = ARM11 Kernel Config Fields = |
| | | |
Line 279: |
Line 284: |
| | | |
| = Shared Memory Page Fields = | | = Shared Memory Page Fields = |
| + | |
| + | == RUNNING_HW == |
| + | Converted from [[#MCU_HW_INFO|MCU_HW_INFO]] (names extracted from TestMenu) by PTM, depending on whether or not the system is a N3DS/N2DS or not: |
| + | |
| + | {| class="wikitable" border="1" |
| + | ! Value |
| + | ! Description |
| + | |- |
| + | | 0 |
| + | | Invalid (unknown) |
| + | |- |
| + | | 1 |
| + | | PRODUCT |
| + | |- |
| + | | 2 |
| + | | TS_BOARD |
| + | |- |
| + | | 3 |
| + | | KMC_DEBUGGER |
| + | |- |
| + | | 4 |
| + | | KMC_CAPTURE |
| + | |- |
| + | | 5 |
| + | | IS_DEBUGGER |
| + | |- |
| + | | 6 |
| + | | SNAKE_PRODUCT |
| + | |- |
| + | | 7 |
| + | | SNAKE_IS_DEBUGGER |
| + | |- |
| + | | 8 |
| + | | SNAKE_IS_CAPTURE |
| + | |- |
| + | | 9 |
| + | | SNAKE_KMC_DEBUGGER |
| + | |} |
| + | |
| + | == MCU_HW_INFO == |
| + | |
| + | Converted to [[#RUNNING_HW|RUNNING_HW]] by PTM. |
| + | |
| + | {| class="wikitable" border="1" |
| + | ! Value |
| + | ! Description |
| + | |- |
| + | | 0 |
| + | | PRODUCT |
| + | |- |
| + | | 1 |
| + | | TS_BOARD |
| + | |- |
| + | | 2 |
| + | | KMC_DEBUGGER |
| + | |- |
| + | | 4 |
| + | | KMC_CAPTURE |
| + | |- |
| + | | 5 |
| + | | IS_DEBUGGER |
| + | |- |
| + | | 6 |
| + | | IS_CAPTURE (N3DS only) |
| + | |} |
| | | |
| == WIFI_MACADDR == | | == WIFI_MACADDR == |
− | This is the WiFi MAC address for the 3DS. This is initialized by the [[NWM_Services|NWM]] module, it's unknown where the MAC address written here was originally loaded from. | + | This is the WiFi MAC address for the 3DS. This is initialized by the [[NWM_Services|NWM]] module and is loaded from the WiFi card's EEPROM. |
| | | |
| == 3D_SLIDERSTATE == | | == 3D_SLIDERSTATE == |