kernel/svc: Implement the resource limit svcGetInfo option

Allows a process to register the resource limit as part of its handle
table.
This commit is contained in:
Lioncash 2018-12-04 00:29:15 -05:00
parent 9ca1a2dcbc
commit 676c46cc81
4 changed files with 34 additions and 9 deletions

View file

@ -13,6 +13,7 @@
namespace Kernel {
enum KernelHandle : Handle {
InvalidHandle = 0,
CurrentThread = 0xFFFF8000,
CurrentProcess = 0xFFFF8001,
};