APM services
From Nintendo Switch Brew
Revision as of 04:20, 11 July 2017 by Missile (talk | contribs) (apm:p info, and rearrange sections)
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 |