Difference between revisions of "PMApp:SetAppResourceLimit"

From 3dbrew
Jump to navigation Jump to search
m
 
(One intermediate revision by one other user not shown)
Line 35: Line 35:
  
 
=Description=
 
=Description=
Interface for [[SVC|svcSetResourceLimitLimitValues]]. Resource limit type must be set to 9, meaning "Max CPU time" (see [[KResourceLimit]]). If the parameters are not set exactly as listed, the command will return the not-implemented result code 0xD8E05BF4.
+
Interface for [[SVC|svcSetResourceLimitValues]]. Resource limit type must be set to 9, meaning "Max CPU time" (see [[KResourceLimit]]). If the parameters are not set exactly as listed, or when the input reslimit-value is higher than the maximum allowed value(from PM-module state), the command will return result code 0xD8E05BF4.

Latest revision as of 22:24, 29 November 2023

Request[edit]

Index Word Description
0 Header code [0x000A0140]
1 0
2 Resource limit type (9)
3 Resource limit value.
4-5 u64, 0

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

Interface for svcSetResourceLimitValues. Resource limit type must be set to 9, meaning "Max CPU time" (see KResourceLimit). If the parameters are not set exactly as listed, or when the input reslimit-value is higher than the maximum allowed value(from PM-module state), the command will return result code 0xD8E05BF4.