1
0
Fork 0
forked from suyu/suyu
suyu/src/core/hle
Lioncash 5905162e36 svc: Implement svcSetResourceLimitLimitValue()
The opposite of the getter functions, this function sets the limit value
for a particular ResourceLimit resource category, with the restriction
that the  new limit value must be equal to or greater than the current
resource value. If this is violated, then ERR_INVALID_STATE is returned.

e.g.

Assume:

current[Events] = 10;
limit[Events] = 20;

a call to this service function lowering the limit value to 10 would be
fine, however, attempting to lower it to 9 in this case would cause an
invalid state error.
2018-11-26 21:23:15 -05:00
..
kernel svc: Implement svcSetResourceLimitLimitValue() 2018-11-26 21:23:15 -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
lock.h
result.h file_sys/errors: Extract FS-related error codes to file_sys/errors.h 2018-11-16 00:13:50 -05:00