yuzu/src/core/hle/kernel
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
..
address_arbiter.cpp
address_arbiter.h
client_port.cpp
client_port.h
client_session.cpp
client_session.h
errors.h
event.cpp
event.h
handle_table.cpp kernel/handle_table: Move private static functions into the cpp file 2018-11-21 18:31:01 -05:00
handle_table.h kernel/handle_table: Move private static functions into the cpp file 2018-11-21 18:31:01 -05:00
hle_ipc.cpp
hle_ipc.h
kernel.cpp kernel/resource_limit: Clean up interface 2018-11-19 18:16:39 -05:00
kernel.h kernel/resource_limit: Clean up interface 2018-11-19 18:16:39 -05:00
mutex.cpp
mutex.h
object.cpp
object.h
process.cpp kernel/process: Move <random> include to the cpp file 2018-11-20 17:46:20 -05:00
process.h kernel/process: Move <random> include to the cpp file 2018-11-20 17:46:20 -05:00
resource_limit.cpp kernel/resource_limit: Clean up interface 2018-11-19 18:16:39 -05:00
resource_limit.h svc: Implement svcGetResourceLimitLimitValue() 2018-11-26 21:12:13 -05:00
scheduler.cpp
scheduler.h
server_port.cpp
server_port.h
server_session.cpp
server_session.h
session.cpp
session.h
shared_memory.cpp kernel/shared_memory: Make Map() and Unmap() take the target process by reference rather than as a pointer 2018-11-19 09:20:29 -05:00
shared_memory.h kernel/shared_memory: Make Map() and Unmap() take the target process by reference rather than as a pointer 2018-11-19 09:20:29 -05:00
svc_wrap.h svc: Implement svcCreateResourceLimit() 2018-11-26 21:10:31 -05:00
svc.cpp svc: Implement svcSetResourceLimitLimitValue() 2018-11-26 21:23:15 -05:00
svc.h
thread.cpp
thread.h
timer.cpp
timer.h
vm_manager.cpp
vm_manager.h
wait_object.cpp
wait_object.h