Applet Manager services: Difference between revisions

No edit summary
Line 2,188: Line 2,188:


=== GetAppletResourceUsageInfo ===
=== GetAppletResourceUsageInfo ===
No input, returns an output 0x20-byte struct "nn::am::service::AppletResourceUsageInfo".
No input, returns an output [[#AppletResourceUsageInfo]].


=== SetCpuBoostModeForApplet ===
=== SetCpuBoostModeForApplet ===
Line 2,785: Line 2,785:


Internally AM only uses the first 0xC-bytes from ApplicationAttribute, regardless of the cmd.
Internally AM only uses the first 0xC-bytes from ApplicationAttribute, regardless of the cmd.
= AppletResourceUsageInfo =
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || Unknown counter.
|-
| 0x4 || 0x4 || Unknown counter.
|-
| 0x8 || 0x4 || Output from [[NS_Services|NS GetRightsEnvironmentCountForDebug]].
|-
| 0xC || 0x14 || Always zero.
|}
This struct is "nn::am::service::AppletResourceUsageInfo". This struct is 0x20-bytes.


= Notes =
= Notes =