libnx/nx/source/runtime
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
..
devices Major cleanup and refactor of fsdev and romfsdev, see details: 2019-10-20 22:22:04 +02:00
util/utf This looks better 2018-01-22 20:11:55 +01:00
argv.c Fix new compiler warnings raised by GCC 9.x 2019-09-21 00:58:33 +02:00
dynamic.c This looks better 2018-01-22 20:11:55 +01:00
env.c account: Updated for new-ipc. Renamed the username field in AccountProfileBase to nickname. Fixed various param types, and also removed the output bool from accountGetLastOpenedUser. Added struct AccountUid for proper userIDs, which replaces u128-userIDs. Added accountUidIsValid. Added accountSetServiceType()/AccountServiceType. Improved docs and minor improvements. 2019-10-08 15:41:18 -04:00
exception.s Fixed register corruption in crt0 introduced by the exception commit. Only handle exceptions when __libnx_exception_handler is defined by the user, and updated comments. 2018-11-14 20:55:17 -05:00
hosversion.c Introduce hosversion.h - HOS version detection utilities 2019-02-18 21:48:41 +01:00
init.c Major cleanup and refactor of fsdev and romfsdev, see details: 2019-10-20 22:22:04 +02:00
nacp.c set: Updated for new-ipc. Changed the type of the Language param for setMakeLanguage*() from s32 to SetLanguage. Added size_out param to setsysGetSettingsItemValue which was previously missing. Minor param name adjustment for setsysBindFatalDirtyFlagEvent. Improved docs. 2019-10-04 14:41:10 -04:00
newlib.c threads: support using existing mem as stack (#336) 2019-10-19 04:25:23 +02:00
nxlink_stdio.c In nxlinkStdio(), return sock on success instead of ret. 2019-02-27 19:15:31 -05:00
nxlink.c translate crlf eol markers to lf for consistency 2018-05-15 12:27:25 +02:00
readtp.s Renamed misleading dir names "devices/" and "system/" to "runtime/" 2018-01-06 13:45:37 +01:00
switch_crt0.s Add custom extension to MOD0 header & a few other useful symbols 2019-04-08 16:36:45 +02:00