fincs
54f6fa5420
fs: Use official method names, document min sysver, correct a few parameters
2019-10-21 12:37:38 +02:00
yellows8
3e5c129431
fs: Updated for using AccountUid and removed FS_SAVEDATA_USERID_COMMONSAVE.
2019-10-08 18:05:25 -04:00
fincs
ecbc77840e
fs: Update names of enum/flag types for style consistency and correctness
2019-09-21 19:54:21 +02:00
fincs
77888f8b1f
fs: Use new IPC interface + fixes, see details:
...
- Argument types corrected to better reflect their actual types
(mostly several incorrect instances of size_t were changed to u64)
- Const correctness fixes
- fsEventNotifierGetEventHandle changed to output an Event (with
user configurable autoclear) instead of a raw Handle
2019-09-21 16:27:15 +02:00
fincs
62d795a3c6
fs: Add support for setting priority through IPC context [5.0.0+]
2019-09-21 03:31:08 +02:00
fincs
8a0aef8824
Fix new compiler warnings raised by GCC 9.x
2019-09-21 00:58:33 +02:00
fincs
10d07f3a8a
fs: Implement skeleton required for new IPC and multi-session support (no actual cmds converted yet to new IPC)
2019-09-20 19:39:32 +02:00
Alex Barney
758db03ca4
Add some FS commands ( #321 )
...
* Implement fsOpenCustomStorageFileSystem
* Add more FS commands
fsExtendSaveDataFileSystem
fsSetGlobalAccessLogMode
fsGetGlobalAccessLogMode
* Savedata sizes are signed.
2019-08-17 11:36:43 -04:00
Adubbz
b59682652d
Implement various SaveDataExtraData commands ( #315 )
...
* Implement fsReadSaveDataFileSystemExtraData
* Implement fsReadSaveDataFileSystemExtraDataBySaveDataSpaceId and fsWriteSaveDataFileSystemExtraData
2019-07-24 11:28:05 -04:00
Adubbz
bc5d01400f
Implement fsOpenGameCardFileSystem
2019-07-22 22:09:22 +02:00
Adubbz
0e724040ad
Added fsDeleteSaveDataFileSystemBySaveDataSpaceId ( #304 )
2019-07-13 14:21:16 +02:00
Adubbz
4f441a4f28
Implement fsCreateSaveDataFileSystemBySystemSaveDataId (and wrappers) + fsDisableAutoSaveDataCreation ( #302 )
...
Also fixes everal cases of weird naming in fs
2019-07-05 03:56:52 +02:00
Adubbz
8cf419802a
Implement fsOpenContentStorageFileSystem, fsGetRightsIdByPath & fsGetRightsIdAndKeyGenerationByPath ( #288 )
...
* Implement fsOpenContentStorageFileSystem, fsGetRightsIdByPath & fsGetRightsIdAndKeyGenerationByPath
2019-06-03 14:51:21 -04:00
Michael Scire
3afc9ae371
Add FsBisStorageId enum
2019-06-03 14:48:45 -04:00
Michael Scire
ac9d76f373
fs: fix file/storage API, add fsdevCreateFile, add fsOpenFileSystemWithPatch.
2019-06-03 14:48:45 -04:00
Alex Barney
bd1f9258b2
Fix fsFsCreateFile command parameters
2019-05-31 09:56:03 -04:00
Michael Scire
1bea504732
Added fsOpenDataStorageByDataId and romfsMountFromDataArchive
2019-03-25 00:02:18 +01:00
fincs
11b7bece4a
Change all services except fatal to use hosversion* instead of kernelAboveXYZ
2019-02-18 21:48:49 +01:00
plutooo
bfad4d4557
Fix whitespace
2018-12-09 19:07:39 +01:00
plutooo
c328a74f71
Add fsIsExFatSupported()
2018-12-09 17:06:47 +01:00
yellows8
36bed9f8fc
Added support for getting file timestamps via 3.0.0+ fsFsGetFileTimeStampRaw, *stat() timestamps are now set when fsFsGetFileTimeStampRaw is successful. This is now used in fsdev_open() for supporting fstat. The sysver is now checked in fsFsCleanDirectoryRecursively(). Closes #204 .
2018-11-20 14:22:19 -05:00
Michael Scire
e943eb6ea5
Add fs gamecard attribute retrieve commands
2018-11-14 19:52:40 -05:00
SciresM
e19765445d
fs: Add fsFsQueryEntry (and fsFsSetArchiveBit helper) ( #202 )
...
* fs: Add fsFsSetArchiveBit
* Add fsdevSetArchiveBit wrapper
2018-11-09 22:03:47 -05:00
Michael Scire
d67ae02bc5
Add domain support to fsp-srv
2018-10-16 17:56:39 -04:00
Rajko Stojadinovic
dcdb5c28a4
Fix fsOpenFileSystem ( #153 )
...
* Fix fsOpenFileSystem
* Make fsOpenFileSystem and fsOpenFileSystemWithId work on all firmware versions
* Add some comments for fsOpenFileSystem(WithId)
2018-09-09 19:56:38 +02:00
Rajko Stojadinovic
d726c7c55c
Implement some missing fs functions ( #141 )
2018-07-28 17:49:14 +02:00
klockee
27b8868646
Wrapped and implemented fsOpenBisFilesystem() ( #140 )
2018-07-28 17:08:42 +02:00
Joel16
2bcede91ba
Add fsFsCleanDirectoryRecursively
2018-07-19 11:33:56 -04:00
tesnos
9530da3237
Add fsOpenBisStorage and fsStorageGetSize ( #130 )
...
* add fsOpenBisStorage and fsStorageGetSize
2018-07-19 11:16:38 -04:00
TuxSH
635599491c
Add ipcAddSendSmart, ipcAddRecvSmart, use where applicable
2018-05-08 16:17:13 -04:00
Michael Scire
6f248b9b9e
Add FS commands for SD card state change detection.
2018-05-08 13:29:56 +02:00
yellows8
29211c1800
Use Service for all fs sessions. This fixes an issue with savedata commit.
2018-04-06 12:39:57 -04:00
yellows8
26d2e6d7f4
Implemented FsSaveDataIterator (aka ISaveDataInfoReader). In fs*Close(), set the handle to INVALID_HANDLE after closing the handle. Changed ContentStorageId in FsSave to SaveDataType. Added enums FsSaveDataSpaceId and FsSaveDataType. Removed FS_MOUNTSAVEDATA_INVAL_DEFAULT/FS_MOUNTSYSTEMSAVEDATA_INVAL_DEFAULT.
2018-03-26 14:45:12 -04:00
yellows8
bf216aa667
Added mounting for SystemSaveData.
2018-03-22 22:56:38 -04:00
plutoo
a102c64341
Introduce atomics.c, refcounting on all services
2018-03-10 14:33:40 +01:00
plutoo
d12e99e3ad
Move ipc.h to kernel/
2018-03-10 14:03:29 +01:00
yellows8
4c1b09d6b9
Check for invalid handle in fs*Close(). Added fsOpenDataStorageByCurrentProcess(), fsStorageRead(), and fsStorageClose(). Added fsdevGetDefaultFileSystem(). Imported nro.h from nx-hbmenu. Implemented proper RomFS support.
2018-02-23 22:29:43 -05:00
plutoo
6fa8370bfb
This looks better
2018-01-22 20:11:55 +01:00
TuxSH
5abc4873d8
Include only what is really necessary...
...
add pragma once in every header, etc.
2018-01-22 18:42:57 +01:00
plutoo
f70d70f029
Introducing "Service" object, implemented service override, fixing minor formatting mistakes
...
NOT TESTED :(
2018-01-12 23:29:49 +01:00
plutoo
bf89c7526e
Rename ipc functions before it's too late
2018-01-11 21:56:04 +01:00
plutoo
edcf789b6e
C was developed in 1972
2018-01-06 13:54:59 +01:00
plutoo
e5d0821678
Implement pm:dmnt
2017-12-05 12:30:21 +01:00
yellows8
0c5efe5f9c
Added a comment in fs_dev.h. Adjusted fs.h formatting, etc. Added support for mounting SaveData.
2017-11-30 01:58:21 -05:00
yellows8
49959e4e37
FS adjustments + fixed fsFsGetFreeSpace/fsFsGetTotalSpace. In fs_dev: fixed cwd handling, unmounting adjustments, use fsFsGetEntryType(), updated fsdev_dirnext(), and properly handle fsdev_statvfs().
2017-11-29 01:47:11 -05:00
yellows8
59880e9488
Removed output bytes_written for fsFileWrite() since the command doesn't actually return that. In fsdev_open(), set the FS_OPEN_APPEND flag when opening for writing. Adjusted file-creation handling in fsdev_open().
2017-11-27 17:40:49 -05:00
yellows8
25f2839c75
Imported util/utf from libctru. Updated appInit/appExit. Fs adjustments + implemented IDirectory. Imported a modified version of sdmc_dev from libctru as fs_dev, this currently isn't usable.
2017-11-23 15:00:56 -05:00
yellows8
68dbb72b04
Added fsExit and fsGetServiceSession. Check whether initialization was already done in fsInitialize, etc. Added fs to __appInit/__appExit.
2017-10-14 21:45:59 -04:00
plutoo
b82ad0b099
Nobodys perfect
2017-10-07 23:18:21 +02:00
plutoo
74b14f4c63
Introducing fs..
2017-10-07 22:49:16 +02:00