Line 102:
Line 102:
|<code>uint32_t OSGetCoreId(void);</code>
|<code>uint32_t OSGetCoreId(void);</code>
|Returns the PowerPC coreid this code is running on(value of spr1007).
|Returns the PowerPC coreid this code is running on(value of spr1007).
+
|-
+
|OSGetStackPointer
+
|<code>uint32_t *OSGetStackPointer(void);</code>
+
|Returns the r1 register(aka "sp").
|}
|}