PDN Services: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
No edit summary
TimmSkiller (talk | contribs)
 
(13 intermediate revisions by 3 users not shown)
Line 8: Line 8:
|-
|-
| 0x00010000
| 0x00010000
| This loads the u32s from 0x1EC41000+8 and 0x1EC41000+12, then writes those to cmdreplyword[2] and cmdreplyword[3].
| [[PDNS:GetWakeStatus|GetWakeStatus]]
|-
|-
| 0x00020080
| 0x00020080
| u32 0x1EC41000+12 = cmdword[2] & cmdword[1]. This then writes cmdword[1] to u32 0x1EC41000+8. u32 0x1EC41000+12 = cmdword[2] & ~cmdword[1].
| [[PDNS:ConfigureWakeEvents|ConfigureWakeEvents]]
|-
|-
| 0x00030040
| 0x00030040
| This writes cmdword[1] to u32 0x1EC41000+12.
| [[PDNS:Acknowledge|Acknowledge]]
|}
|}


Line 24: Line 24:
|-
|-
| 0x000100C0
| 0x000100C0
| (u8 unk0, u8 unk1, u8 unk2) ?controls power to the DSP <just a guess>?
| [[PDND:Control|Control]]
|}
|}


= PDN CODEC Service "pdn:i" =
= PDN I2S Service "pdn:i" =
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 34: Line 34:
|-
|-
| 0x00010040
| 0x00010040
| This sets bit0 in u8 *(0x1EC41000+0x220) to u8 cmd+4.
| [[PDNI:Control1|Control1]]
|-
|-
| 0x00020040
| 0x00020040
| This sets bit1 in u8 *(0x1EC41000+0x220) to u8 cmd+4.
| [[PDNI:Control2|Control2]]
|}
|}
Used by [[Codec Services]].


= PDN GSP service "pdn:g" =
= PDN GSP service "pdn:g" =
Line 47: Line 49:
|-
|-
| 0x000100C0
| 0x000100C0
| (u8 value, u32 unk1, u16 unk2) ?controls power to the GPU <just a guess>?
| [[PDNG:Control|Control]]
|}
|}


Line 57: Line 59:
|-
|-
| 0x00010040
| 0x00010040
| This sets bit0 in u8 *(0x1EC41000+0x224) to u8 cmd+4.
| [[PDNC:Control|Control]]
|-
|-
| 0x000200000
| 0x000200000
| This writes u8 *(0x1EC41000+0x224) & 1 to u8 cmdreply+8.
| [[PDNC:IsEnabled|IsEnabled]]
|}
|}

Latest revision as of 12:10, 3 August 2025


PDN PTM Service "pdn:s"

Command Header Description
0x00010000 GetWakeStatus
0x00020080 ConfigureWakeEvents
0x00030040 Acknowledge

PDN DSP Service "pdn:d"

Command Header Description
0x000100C0 Control

PDN I2S Service "pdn:i"

Command Header Description
0x00010040 Control1
0x00020040 Control2

Used by Codec Services.

PDN GSP service "pdn:g"

Command Header Description
0x000100C0 Control

PDN Camera Service "pdn:c"

Command Header Description
0x00010040 Control
0x000200000 IsEnabled