1
0
Fork 0
forked from suyu/suyu
suyu/src/core/hle
Lioncash 1d6399c222 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.
2018-11-26 21:12:13 -05:00
..
kernel svc: Implement svcGetResourceLimitLimitValue() 2018-11-26 21:12:13 -05:00
service Merge pull request #1793 from lioncash/ref 2018-11-25 23:04:21 -05:00
ipc.h kernel/errors: Remove now-unused, unnecessary, error codes 2018-10-24 14:58:37 -04:00
ipc_helpers.h hle_ipc: Add member function for querying the existence of a domain header 2018-10-29 23:28:04 -04:00
lock.cpp Fix build on macOS and linux 2018-01-13 22:38:52 +00:00
lock.h Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
result.h file_sys/errors: Extract FS-related error codes to file_sys/errors.h 2018-11-16 00:13:50 -05:00