Difference between revisions of "PPC services"

From Nintendo Switch Brew
Jump to navigation Jump to search
(whoops)
(apm:p info, and rearrange sections)
Line 11: Line 11:
 
|}
 
|}
  
=== ISession ===
+
== apm:p ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name || Notes
 +
|-
 +
| 0 || [[#ISession|GetISession]] || Same as apm ISession - but more privileged?
 +
|-
 +
| 1 || ? ||
 +
|}
 +
 
 +
 
 +
== apm:sys ==
 +
Internally known as ISystemManager
 +
 
 +
 
 +
 
 +
== ISession ==
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Line 60: Line 76:
 
| 0x92220008 ||  
 
| 0x92220008 ||  
 
|}
 
|}
The lower 16 bits seem to loosely indicate relative profile performance, with higher values being slower. Unknown profiles can be applied in handheld mode (these may be ultra-low-power modes).
 
 
== apm:p ==
 
 
 
== apm:sys ==
 
  
 
[[Category:Services]]
 
[[Category:Services]]

Revision as of 09:20, 11 July 2017

APM is utilized for setting system performance profiles; including clocks for CPU, GPU, and memory.

apm

Cmd Name Notes
0 GetISession
1 GetPerformanceMode

apm:p

Cmd Name Notes
0 GetISession Same as apm ISession - but more privileged?
1 ?


apm:sys

Internally known as ISystemManager


ISession

Cmd Name Notes
0 SetPerformanceConfiguration Takes u32 PerformanceMode
1 GetPerformanceConfiguration Takes u32 PerformanceMode, u32 PerformanceConfiguration

PerformanceMode

Value Name
0 Handheld
1 Docked

PerformanceConfiguration

Value Name
0x10000 Docked profiles
0x10001
0x10002
0x20000 Handheld profiles
0x20001
0x20002
0x20003
0x20004
0x20005
0x20006
0x92220007 Unknown profiles
0x92220008