Line 6: |
Line 6: |
| |- | | |- |
| | 0 | | | 0 |
− | | Header code [0x000a0140] | + | | Header code [0x000A0140] |
| |- | | |- |
| | 1 | | | 1 |
− | | ? (usually 0) | + | | 0 |
| |- | | |- |
| | 2 | | | 2 |
− | | Resource limit type. | + | | Resource limit type (9) |
| |- | | |- |
| | 3 | | | 3 |
| | Resource limit value. | | | Resource limit value. |
| |- | | |- |
− | | 4 | + | | 4-5 |
− | | ? (usually 0)
| + | | u64, 0 |
− | |-
| |
− | | 5
| |
− | | ? (usually 0) | |
| |} | | |} |
| | | |
Line 38: |
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]]. Sets a single resource limit at a time. Resource limit types are in the 0-9 range and can be found at [[KResourceLimit]] : 0 is "Max Priority" and 9 is "Max CPU time". | |