Line 116:
Line 116:
| MCU_HW_INFO
| MCU_HW_INFO
| 0x1FF81005
| 0x1FF81005
−
| 1
−
|-
−
| ? (Set by PTM) Possibe values are 2, 4, 6, 7, 8 and 9
−
| 0x1FF81006
| 1
| 1
|-
|-
Line 154:
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 288:
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 ==