aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/control_metadata.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-11-26 18:48:07 -0500
committerLioncash <mathew1800@gmail.com>2018-11-26 21:12:13 -0500
commitee59c47a59f6c33ea16ec28889264d9af5fe5e94 (patch)
tree576472b5ccb74dacf7e55f7e651e8c0ff55a7ae4 /src/core/file_sys/control_metadata.cpp
parent931ac0359b099806b1bc0ffd4565748000c6cbc5 (diff)
svc: Implement svcGetResourceLimitLimitValue()
This kernel service function retrieves the maximum allowable value for a provided resource category for a given resource limit instance. Given we already have the functionality added to the resource limit instance itself, it's sufficient to just hook it up. The error scenarios for this are: 1. If an invalid resource category type is provided, then ERR_INVALID_ENUM is returned. 2. If an invalid handle is provided, then ERR_INVALID_HANDLE is returned (bad thing goes in, bad thing goes out, as one would expect). If neither of the above error cases occur, then the out parameter is provided with the maximum limit value for the given category and success is returned.
Diffstat (limited to 'src/core/file_sys/control_metadata.cpp')
0 files changed, 0 insertions, 0 deletions