Page history
30 November 2018
Add several more null check/precondition error codes for system settings that I missed previously (forgot to check vtables references in relevant functions for return values)
+5,058
Add two more settings error codes related to null buffers/pointers
+143
Add settings error for null keyboard layout buffers (forgot to add this when adding the other ones)
+59
Add quite a number of settings module error codes used for indicating invalid preconditions (notably, null pointer/buffer inputs)
+1,703
18 November 2018
16 November 2018
15 November 2018
14 November 2018
12 November 2018
11 November 2018
Add error codes related to audio buffer sizes being too small, and invalid handles. Also clarify audio error 0x499. This seems to be used as a general operation failure error code.
+99
→Error codes
+10
10 November 2018
→Error codes
m+44
Add FS error codes for insufficient space related to BIS partitions and SD cards (these are stored within an array in rodata next to the FAT format error codes)
+357
Add FS error codes for invalid FAT formats for BIS storage partitions
+301
→Error codes: fatal
+227
9 November 2018
8 November 2018
Add FS error code for invalid save data filesystem magic
+96
Add various sm error codes based on Atmosphere SM.
+241
Clarify FS error 0x202 and 0x402. These indeed seem to apply to both files and directories, so we can simplify this to just be an error about a path not existing or existing when it shouldn't be.
-23
Add more error codes related to FAT filesystems
+295
7 November 2018
2 November 2018
31 October 2018
Correct description of error code 1 for HIPC. This seems to actually signify an unsupported operation, rather than a marshaling error
-10
Add HIPC error code for an unknown request type
+50
Amend the description of kernel error 0x10601. This is actually used to signify cases where a port is closed when it shouldn't be/isn't expected to be.
-15
Add CMIF error code for invalid dispatch IDs. This is usually the tentative error code set before the dispatch jump tables
+57
30 October 2018
29 October 2018
Clarify error code 0x7601. This is used in thread and address arbiter code. In particular, address arbiter code within svcWaitForAddress checks if the thread is dead/going to die before actually performing a wait operation.
+18
Add FS error code for unimplemented behavior. This is returned by a few member functions within the FS code.
+53
Add FS error codes for when directories or files aren't closed when they should be (used in FileSystemAccessor's destructor; again, kudos to Nintendo for full strings and log calls)
+97
Add FS error codes related to allocators already being registered/used. Found in SetAllocators (courtesy to Nintendo for leaving the log calls and strings in the binary)
+120
Found in 1.0.0 0xFFFFFFFFBFC2276C (related to svcSendSyncRequestWithUserBuffer64)
+48
Add OS error code that signifies the OS is busy and OS code for signifying an invalid parameter (based off observation, these are mostly returned within OS allocation functions)
+74
Add error code for situation where CMIF domain entries can't be reserved
+52
28 October 2018
Add OS error code used to signify out of resource conditions. This seems to be returned if the OS is unable to allocate a TLS slot for thread resources
+42
Add OS error code used to signify out of memory conditions
+39
Add error code for invalid CMIF header sizes.
+55
27 October 2018
25 October 2018
24 October 2018
Kernel error 0xE601 is also used to signify an invalid pointer. Particularly so in svcReplyAndReceive, and svcWaitSynchronization where this is returned if a given address isn't within a usable range.
+16
Add FS error code for invalid FAT file numbers
+55
23 October 2018
21 October 2018
20 October 2018
0xFA01 seems to be Process already started
+24
Add error codes relating to in/out object count for CMIF-related code
+109
Add error code for invalid CMIF input headers (also adjust the other error code for output headers to match)
+56
19 October 2018
Add error code for SD card memory allocation failures
+69
Add another error code for the HIPC module
+57