libnx/nx/source
fincs c77b88d868
Major cleanup and refactor of fsdev and romfsdev, see details:
fsdev:
- Removed fsdevGetDefaultFileSystem and default-fs handling
- Refactored CWD support to have (dynamically allocated) per-device CWDs
  (CWD support as a whole can be turned off with __nx_fsdev_support_cwd)
- Optimized calls by passing pointer to device through r->deviceData
- Use the per-thread path buffer directly as the argument to FS functions
- Removed redundant cross-device check in fsdev_rename
- Fixed string comparison logic in fsdevFindDevice
- fsdev_fixpath now accepts an input device in order to skip device
  lookup (extensively used along with r->deviceData)
- Mounting a filesystem now automatically sets the default device
  if there wasn't any previous default device (or if it's stdnull)
- fsdevMountSdmc no longer sets cwd to the folder containing the
  executable - this logic was moved to a new internal function
  called on startup by default (and it is now disabled for NSOs)
- Other miscellaneous optimizations

romfsdev:
- Cleaned up romfsMount* functions, removed unused/unnecessary logic
- Changed romfsMount* functions to return real result codes
- Renamed romfsMount to romfsMountSelf and improved documentation
- Removed romfsInitFromFile and romfsInitFromStorage (use Mount instead)
- Added documentation for romfsInit and romfsExit
2019-10-20 22:22:04 +02:00
..
applets web/friendsLa: Updated for using AccountUid. Renamed webConfigSetUserID to webConfigSetUid, and renamed WebArgType_UserID to WebArgType_Uid. 2019-10-08 17:44:53 -04:00
arm Improve atomics 2018-03-10 14:41:06 +01:00
audio Add audio/ ("AudioDriver"), a high level wrapper around audren 2018-08-31 13:05:21 +02:00
crypto Clear finalized field upon hmac context creation 2019-06-15 16:29:49 -04:00
display Introduce new IPC interface wrapper code, see details: 2019-09-19 03:50:28 +02:00
kernel threads: support using existing mem as stack (#336) 2019-10-19 04:25:23 +02:00
nvidia nvAddressSpaceCreate: call InitializeEx with the proper page size value... 2019-08-14 21:02:56 +02:00
runtime Major cleanup and refactor of fsdev and romfsdev, see details: 2019-10-20 22:22:04 +02:00
services hidsys: Fixed cmd order. Fixed output size for hidsysGetUniquePadSerialNumber. 2019-10-20 02:35:30 -04:00
internal.h Implement TLS slot support (with destructors) 2019-03-29 18:40:26 +01:00