fincs
bc13692938
Introduce SessionMgr for managing multiplexed services; change fs to use it
2019-10-26 16:44:32 +02:00
yellows8
051ad2dc60
Improved bool handling, clear IPC in-struct padding, and use serviceAssumeDomain prior to serviceClose in non-_{name}Cleanup funcs. Removed PACKED from the _usbHsIfCtrlXferAsync IPC in-struct. Fixed the code setting the IPC in-struct for _nsCmdRequestSendReceiveSystemUpdate, which is used by nssuRequestSendSystemUpdate/nssuControlRequestReceiveSystemUpdate. Minor other changes. Updated a param name for capsscCaptureRawImageWithTimeout.
2019-10-25 20:29:43 -04:00
yellows8
b4a003e176
fs: Minor improvements. Fixed cmd order. IPC improvements + clear padding in IPC in-struct. Improved bool handling.
2019-10-25 19:35:59 -04:00
yellows8
e833257b65
applet: Minor internal improvements. Updated param type for appletRequestLaunchApplicationWithUserAndArgumentForDebug. Clear IPC in-struct padding, improved bool handling, and use serviceAssumeDomain when closing Service objects outside of _appletCleanup.
2019-10-25 19:24:56 -04:00
yellows8
04179b286d
nfc: Replaced the handle within NfcDeviceHandle with an u8-array. Removed PACKED from the nfpCreateApplicationArea in-struct. Improved bool handling.
2019-10-25 19:11:03 -04:00
yellows8
5700b8f347
fsldr/ldr/spl: Improved bool handling and minor other changes. Fixed IPC input for _ldrAddTitleToLaunchQueue.
2019-10-25 18:56:41 -04:00
fincs
58e1e7e5b6
bsd: Update for new-ipc
2019-10-25 17:19:30 +02:00
yellows8
e5c1e35ede
vi: Renamed viGetDisplayMinimumZ to viGetZOrderCountMin, and renamed viGetDisplayMaximumZ to viGetZOrderCountMax. Updated param types. Clear IPC in-struct padding + minor other changes.
2019-10-24 18:06:33 -04:00
fincs
4ab2384449
fatal: Rename functions/types to match official names more closely
2019-10-24 23:25:07 +02:00
yellows8
a808c53efc
ncm/pm: Added NcmProgramLocation, which is now used by pmshellLaunchProgram (which was renamed). Updated pm names to match wiki. Adjusted order in pm.c/pm.h / minor changes.
2019-10-24 16:42:52 -04:00
yellows8
0d5e51757d
grc: Renamed grcdRead to grcdTransfer and updated the param names for it.
2019-10-23 23:32:33 -04:00
yellows8
e81b63ac00
ncm: Moved the cmd_id param for the internal IPC helper funcs to the last param.
2019-10-23 20:01:27 -04:00
yellows8
ea5dcfddfa
ncm: Renamed NcmNcaId to NcmContentId. Added NcmRightsId struct, which is now used by the RightsId funcs. Updated params / params types, this includes replacing array buf-byte-sizes with entry-count. Fixed handling for ncmContentStorageGetPath/ncmContentStorageGetPlaceHolderPath. Improved bool handling + clear IPC in-struct padding. Minor improvements.
2019-10-23 19:14:04 -04:00
yellows8
e4657c15ce
fspr: Use domains. Clear padding for the fsprRegisterProgram in-struct.
2019-10-23 18:41:01 -04:00
yellows8
42b6af8e07
lr: Use SfBufferAttr_FixedSize in _lrResolvePath().
2019-10-22 18:53:20 -04:00
fincs
d025041e3d
sm: Introduce and use SmServiceName struct (with better codegen)
2019-10-22 20:10:52 +02:00
yellows8
7103b08740
sm: Minor improvements + IPC input improvements. Minor param type adjustment for smRegisterService.
2019-10-22 10:20:21 -04:00
fincs
e9e392bbe2
binder: Update for new-ipc
2019-10-22 16:11:10 +02:00
Michael Scire
145ad1ba87
virtmem: fix incorrect bounds check
2019-10-22 12:42:07 +02:00
fincs
9e83f82a62
Enhance fsOpen_SystemSaveData/fsdevMountSystemSaveData
2019-10-21 21:15:40 +02:00
fincs
47b0403333
Pass plain AccountUid inputs by value instead of by non-const pointer
2019-10-21 16:57:01 +02:00
fincs
13fbde91b0
fsdev: Added fsdevMountSaveData/SystemSaveData wrappers
2019-10-21 12:38:18 +02:00
fincs
54f6fa5420
fs: Use official method names, document min sysver, correct a few parameters
2019-10-21 12:37:38 +02:00
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
yellows8
0403c988ba
hidsys: Fixed cmd order. Fixed output size for hidsysGetUniquePadSerialNumber.
2019-10-20 02:35:30 -04:00
fincs
26a0ee4af3
fsdev/romfsdev: Reduce TLS usage by sharing the path buffer
2019-10-20 02:48:04 +02:00
yellows8
a774fb81cc
Added hidsysSetNotificationLedPatternWithTimeout. Updated docs with sysver requirements which were previously missing.
2019-10-19 19:51:51 -04:00
Michael Scire
2e2d227ac7
vi: update for new-ipc
2019-10-20 01:13:40 +02:00
Michael Scire
23950cc10e
lr: update for new-ipc
2019-10-20 01:13:40 +02:00
Michael Scire
9e2df3ad53
ldr: update for new-ipc
2019-10-20 01:13:40 +02:00
Michael Scire
a3e7b1affb
smm: update for new-ipc
2019-10-20 01:13:40 +02:00
Michael Scire
71b44cfb02
psc: update for new-ipc
2019-10-20 01:13:39 +02:00
Michael Scire
61fabbe1bc
i2c: update for new-ipc
2019-10-20 01:13:39 +02:00
Michael Scire
861e9d7c3d
fsldr: assume domain
2019-10-20 01:13:23 +02:00
Michael Scire
7292ddfcd8
fspr: update for new-ipc
2019-10-20 01:11:27 +02:00
Michael Scire
77563f027a
bpc: update for new-ipc
2019-10-20 01:11:26 +02:00
Michael Scire
040767ce57
clkrst: update for new-ipc
2019-10-20 01:11:25 +02:00
Michael Scire
960f99e7a2
pcv: update for new-ipc
2019-10-20 01:11:24 +02:00
Michael Scire
16fde00323
spsm: update for new-ipc
2019-10-20 01:11:23 +02:00
Michael Scire
48905d70d2
gpio: update for new-ipc
2019-10-20 01:11:23 +02:00
yellows8
edcd25bdae
Added hiddbgWriteSerialFlash.
2019-10-19 18:42:45 -04:00
yellows8
ecd6cd73ca
Fixed hiddbgReadSerialFlash. Added hiddbgAcquireOperationEventHandle and hiddbgGetOperationResult.
2019-10-19 12:19:23 -04:00
yellows8
9b44261767
Fixed memset in usbHsEpClose() which was using sizeof() with the wrong struct. Closes #337 .
2019-10-18 22:29:20 -04:00
SciresM
415adf5b93
threads: support using existing mem as stack ( #336 )
2019-10-19 04:25:23 +02:00
fincs
69a63bbee8
fsdev: Reduce TLS footprint for rarely used codepaths
2019-10-19 04:00:50 +02:00
yellows8
5f5d4c9785
pdm: Renamed PdmApplicationEvent to PdmAppletEvent, and renamed pdmqryQueryApplicationEvent to pdmqryQueryAppletEvent. Renamed *entryindex fields in various structs to *entry_index. Updated param types and minor param name adjustments.
2019-10-18 16:53:26 -04:00
fincs
3c610fb2cb
fsdev: Allow directory entry cache size to be configured dynamically
2019-10-18 21:23:11 +02:00
yellows8
d1c045f745
usbhs: Updated for new-ipc. Minor improvements and improved docs.
2019-10-17 23:23:06 -04:00
yellows8
e82819d8a4
usbds: Updated for new-ipc. Added sysver checking. Updated the intf_num param type for usbDsRegisterInterfaceEx, likewise with intf_num fields used elsewhere. Renamed the Service 'h' field in UsbDsInterface/UsbDsEndpoint to 's'. Minor improvements + improved docs.
...
usbComms: Fixed locking issue which caused a hang in usbCommsInitialize*() when init fails.
2019-10-17 17:34:36 -04:00
yellows8
45bf08bf8d
audren: Updated for new-ipc. Renamed audrenGetServiceSession to audrenGetServiceSession_AudioRenderer. Use the [3.0.0+] *Auto cmd with audrenRequestUpdateAudioRenderer when available. Minor adjustments + improved docs.
2019-10-16 10:14:57 -04:00