Difference between revisions of "PDN Services"

From 3dbrew
Jump to navigation Jump to search
Line 47: Line 47:
 
|-
 
|-
 
| 0x000100C0
 
| 0x000100C0
| (u8 unk0, u8 unk1, u8 unk2) ?controls power to the GPU <just a guess>?  
+
| (u8 value, u32 unk1, u16 unk2) ?controls power to the GPU <just a guess>?  
 
|}
 
|}
  

Revision as of 00:35, 26 April 2015


PDN PTM Service "pdn:s"

Command Header Description
0x00010000 This loads the u32s from 0x1EC41000+8 and 0x1EC41000+12, then writes those to cmdreplyword[2] and cmdreplyword[3].
0x00020080 u32 0x1EC41000+12 = cmdword[2] & cmdword[1]. This then writes cmdword[1] to u32 0x1EC41000+8. u32 0x1EC41000+12 = cmdword[2] & ~cmdword[1].
0x00030040 This writes cmdword[1] to u32 0x1EC41000+12.

PDN DSP Service "pdn:d"

Command Header Description
0x000100C0 (u8 unk0, u8 unk1, u8 unk2) ?controls power to the DSP <just a guess>?

PDN CODEC Service "pdn:i"

Command Header Description
0x00010040 This sets bit0 in u8 *(0x1EC41000+0x220) to u8 cmd+4.
0x00020040 This sets bit1 in u8 *(0x1EC41000+0x220) to u8 cmd+4.

PDN GSP service "pdn:g"

Command Header Description
0x000100C0 (u8 value, u32 unk1, u16 unk2) ?controls power to the GPU <just a guess>?

PDN Camera Service "pdn:c"

Command Header Description
0x00010040 This sets bit0 in u8 *(0x1EC41000+0x224) to u8 cmd+4.
0x000200000 This writes u8 *(0x1EC41000+0x224) & 1 to u8 cmdreply+8.