Difference between revisions of "PMApp:SetAppResourceLimit"

From 3dbrew
Jump to navigation Jump to search
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|svcSetResourceLimitLimitValues]]. 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.

Revision as of 17:25, 9 June 2016

Request

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

Response

Index Word Description
0 Header code
1 Result code

Description

Interface for svcSetResourceLimitLimitValues. 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.