Lioncash
d5ec89c1fb
kernel/errors: Correct error codes for invalid thread priority and invalid processor ID
7 years ago
Lioncash
8eb062bba4
kernel/error: Amend error code for ERR_MAX_CONNECTIONS_REACHED
We can make this error code an alias of the resource limit exceeded
error code, allowing us to get rid of the lingering 3DS error code of
the same type.
7 years ago
Lioncash
4c6743a155
kernel/error: Amend error code for ERR_PORT_NAME_TOO_LONG
We can treat this as an alias of TooLarge for documentation purposes.
This also lets us get rid of another lingering 3DS-related error code.
7 years ago
Lioncash
ce900c1cb8
kernel/error: Add error code for the handle table being full
This replaces the lingering 3DS constant with the proper one, and
utilizes it within HandleTable's Create() member function.
7 years ago
Lioncash
d97ec0683f
kernel/error: Add error code for invalid memory permissions
7 years ago
Lioncash
eec7892cad
kernel/error: Correct kernel error code for invalid combination
7 years ago
Michael Scire
3119b64d86
Kernel/Arbiters: Implement WaitForAddress
8 years ago
Michael Scire
6e9b11ffa0
Kernel/Arbiters: Add stubs for 4.x SignalToAddress/WaitForAddres SVCs.
8 years ago
Subv
40c82fc9c5
Kernel/SVC: Support special core values -2 and -3 in svcSetThreadCoreMask.
Also added some proper error handling.
8 years ago
Subv
4e47dd5b59
Kernel: Corrected the implementation of svcArbitrateLock and svcArbitrateUnlock.
Switch mutexes are no longer kernel objects, they are managed in userland and only use the kernel to handle the contention case.
Mutex addresses store a special flag value (0x40000000) to notify the guest code that there are still some threads waiting for the mutex to be released. This flag is updated when a thread calls ArbitrateUnlock.
TODO:
* Fix svcWaitProcessWideKey
* Fix svcSignalProcessWideKey
* Remove the Mutex class.
8 years ago
bunnei
182548ec86
yuzu: Update license text to be consistent across project.
8 years ago
Subv
607a46a662
SVC: Implemented CancelSynchronization.
8 years ago
Subv
5685c764e4
ErrorCodes: Updated the InvalidHandle and Timeout kernel error codes.
8 years ago
bunnei
10022dc332
errors: Define missing kernel error codes.
8 years ago
bunnei
714dd3da6d
hle: Use Switch formatted result codes.
8 years ago
Yuri Kunde Schlesner
afa851d0a4
Kernel: Implement AcceptSession SVC
9 years ago
Yuri Kunde Schlesner
467545ed48
Kernel: Centralize error definitions in errors.h
9 years ago