summaryrefslogtreecommitdiff
path: root/src/core/gdbstub/gdbstub.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
commit1d6399c222e6c0478193160648cddf43b8d8eff9 (patch)
tree576472b5ccb74dacf7e55f7e651e8c0ff55a7ae4 /src/core/gdbstub/gdbstub.cpp
parent4ef2af8c98354aea8a4a3758d798c6a2b7bf9321 (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/gdbstub/gdbstub.cpp')
0 files changed, 0 insertions, 0 deletions