Commit Graph

1156 Commits

Author SHA1 Message Date
yellows8
3e39f97fe5
Added support for hiddbg Hdls. 2019-06-06 20:52:33 -04:00
yellows8
9947048f8b
Added support for [8.0.0+] swkbd functionality: swkbdConfigSetUnkFlag, swkbdConfigSetTrigger, swkbdInlineSetChangedStringV2Callback, and swkbdInlineSetMovedCursorV2Callback. Added swkbdInlineLaunchForLibraryApplet and swkbdInlineSetDecidedCancelCallback. Moved initArg setup into swkbdInlineLaunch*. 2019-06-04 19:13:36 -04:00
thedax
133ffe92fd Implement setsys GetDeviceNickname/SetDeviceNickname (#289)
* Implement setsys(Get/Set)DeviceNickname.

Thanks to @shchmue & @thog for tips on the send/recv buffers!
2019-06-04 10:22:51 -04: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
4d049ee7c4 enum alignment fixes 2019-06-03 14:48:45 -04:00
Michael Scire
b68441e36f style fixes, note 4.0.0+ 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
Ac_K
a3381d3d64 hidsysSetNotificationLedPattern cleanup
Fix a copy/paste issue in hidsysSetNotificationLedPattern
2019-06-01 16:00:28 -04:00
Alex Barney
bd1f9258b2 Fix fsFsCreateFile command parameters 2019-05-31 09:56:03 -04:00
yellows8
d2bfc032f8
Added support for the additional web [8.0.0+] functionality: webConfigSetMediaPlayerUi and webReplyGetMediaPlayerAutoClosedByCompletion. Various other changes. 2019-05-19 15:15:00 -04:00
yellows8
cf8bb1e045
Actually use the commonargs version for [6.0.0+] with web. 2019-05-17 21:35:33 -04:00
Thomas Guillemard
977bb9d7e8 i2c: add ReceiveAudo and ExecuteCommandList
Also make buf const in SendAuto.
2019-05-17 19:38:47 -04:00
fincs
d966bee9fa Const correctness in nvGpuZbcAddColor (and fix comment typo) 2019-05-17 21:20:11 +02:00
fincs
320b054f6e Added nvGpu* wrapper functions for zcull/zbc/tpc ioctls 2019-05-17 21:15:57 +02:00
fincs
f13c3cface Add/correct /dev/nvhost-ctrl-gpu ioctls 2019-05-17 20:03:05 +02:00
yellows8
90620daf05
Added romfsMountFromCurrentProcess(). 2019-05-17 11:15:43 -04:00
yellows8
f6f6adf1cb
Use the proper IPC buffer type for _usbHsEpGetXferReport with [3.0.0+]. 2019-05-16 18:48:19 -04:00
XorTroll
5452a4bd5f Fix ro services 2019-05-11 20:25:06 +02:00
yellows8
836bb367aa
Renamed ipc_buffer_size to pointer_buffer_size for ipcAddSendSmart/ipcAddRecvSmart. 2019-05-11 11:17:33 -04:00
Michael Scire
f92852fbe5 ncm: add NcmContentMetaType, NcmContentMetaAttribute enums 2019-05-09 12:42:50 +02:00
Michael Scire
a1861509f5 ncm: add ncmContentMetaDatabaseGetAttributes 2019-05-09 12:42:50 +02:00
Michael Scire
39db25c81d romfs_dev: fix unmounting/corruption when mounting multiple. 2019-05-09 12:42:15 +02:00
SciresM
e114a361be fsdev: add way of getting last returned result. (#276)
Adds fsdevGetLastResult, which returns a thread local Result updated by every call to fsdev_translate_error.

Also changes fsdev_translate_error to return EIO instead of raw results, when not translatable.
2019-05-08 16:44:17 +02:00
yellows8
e359010e75
Improved fs_dev docs. 2019-05-05 17:17:08 -04:00
Adubbz
1d3e208807 Added fsdevDeleteDirectoryRecursively 2019-05-05 18:26:08 +02:00
yellows8
afaa33df2e
Added partial support for SevenSixAxisSensor. 2019-05-03 18:38:37 -04:00
fincs
d911c47d2e Miscellaneous documentation fixes 2019-05-03 14:32:02 +02:00
Michael Scire
4094c014ff spl: fix BootReason command names 2019-05-03 03:33:56 +02:00
SciresM
c6e115fd1f i2c: flesh out I2cDevice enum (#273)
* i2c: flesh out I2cDevice enum
2019-05-02 17:38:10 -04:00
fincs
a346185801 Release v2.2.0 2019-05-01 19:26:45 +02:00
fincs
42878b603a Use eventActive instead of manually checking Event::revent 2019-04-30 02:31:47 +02:00
CTCaer
67cd70c00c [hid] Update NotificationLed structs (#272)
* [hid] Update NotificationLed structs
2019-04-27 18:11:01 -04:00
yellows8
aad6b55793
Filled in the HidsysNotificationLedPattern struct and added HidsysNotificationLedPatternCycle. Closes #240. 2019-04-26 21:47:02 -04:00
yellows8
46d5771312
const for hidsysSetNotificationLedPattern input pattern. 2019-04-25 19:30:10 -04:00
yellows8
bed9213f41
Added hidsysSetNotificationLedPattern and the struct for it. 2019-04-25 19:27:45 -04:00
yellows8
d4789c37c9
Added hidsysGetUniquePadsFromNpad and hidsysGetUniquePadIds. 2019-04-25 14:31:00 -04:00
SciresM
d6ba6d9625 sm: add retry loop in smInitialize (#270) 2019-04-25 17:43:39 +02:00
Michael Scire
0666e4651e spl: fix cryptAesCtr definition 2019-04-25 14:39:10 +02:00
SciresM
ee34c620f7 pcv: add pcvGetModuleId (#269)
* pcv: add pcvGetModuleId
2019-04-24 19:44:13 -04:00
Samuel P
bc1786b7b0 pcv Set/GetClockRate changes in 8.0.0 (#266)
* version check on pre-8.0.0 pcv funcs
* clkrst API
* Add PcvModuleId enum
2019-04-24 13:36:19 -04:00
yellows8
1dd057ac09
Added pctlConfirmStereoVisionPermission and pctlResetConfirmedStereoVisionPermission. 2019-04-22 12:33:01 -04:00
Michael Scire
9884ce0462 ldr: change ldrDmntGetModuleInfos to match roDmnt 2019-04-22 16:57:03 +02:00
Michael Scire
50db74a15b Implement ro:1 2019-04-22 16:57:03 +02:00
Michael Scire
23bd10f6db ro: add ldrRoLoadNrrEx, fix roDmnt 2019-04-22 16:57:03 +02:00
yellows8
76b6f521fe
Added appletIsVrModeEnabled and appletSetVrModeEnabled. 2019-04-21 13:45:49 -04:00
Michael Scire
6b50fddd9b Implement svcQueryProcessMemory 2019-04-21 13:48:59 +02:00
Michael Scire
4448b354dd loader: fix LoaderModuleInfo definition 2019-04-21 12:15:03 +02:00
yellows8
3b0f2014e3
Added appletGetCurrentIlluminance, appletGetCurrentIlluminanceEx, and appletIsIlluminanceAvailable. 2019-04-20 16:11:05 -04:00
yellows8
2916bd631a
Added pctlIsStereoVisionPermitted. 2019-04-20 16:09:35 -04:00
fincs
1c832bebd6 Avoid overwriting TLS[0x100] and TLS[0x102] as per 8.0.0 2019-04-20 19:19:34 +02:00
fincs
2f70ee6a92 Remove apm:p support as per 8.0.0 2019-04-16 17:45:12 +02:00
Lioncash
896c81246e kernel/ipc: Resolve missing initializer warnings
In C++ projects with higher warning levels, this header can cause some
missing initializer warnings to leak over. This silences those from
occurring.
2019-04-16 00:54:20 +02:00
yellows8
3dde2148cc
Added appletSetCpuBoostMode, appletGetCurrentPerformanceConfiguration, and ApmCpuBoostMode enum. Updated comments / various minor changes. 2019-04-14 12:16:37 -04:00
yellows8
d4de738dfd
Added support for [6.0.0+] web functionality. Various minor changes. 2019-04-12 21:37:53 -04:00
Ezekiel Bethel
26458fc1e8 add 0x402 (path exists) => EEXIST mapping in fs_dev 2019-04-09 22:16:34 -04:00
yellows8
57b028fec5
Added support for swkbd [6.0.0+] functionality. Added swkbdConfigSet*() funcs which should now be used instead of accessing the arg structs directly. Added version checking for some swkbdInlineSet*() funcs. Various other changes. 2019-04-09 18:32:54 -04:00
fincs
a469a68b20 Add custom extension to MOD0 header & a few other useful symbols 2019-04-08 16:36:45 +02:00
yellows8
31dee5072a
Sync FsSave/FsSaveDataInfo with wiki. 2019-04-04 22:31:02 -04:00
yellows8
8a3f105bab
Removed PACKED from FsSaveDataInfo/FsTimeStampRaw and fixed FsSave alignment. 2019-04-04 18:32:45 -04:00
Michael Scire
d2e2c15937 fix makefile arch 2019-04-04 20:13:36 +02:00
Michael Scire
16f8255fd5 crypto: guard #defines with #ifndef 2019-04-04 20:13:36 +02:00
Michael Scire
c3a94f5bce crc: fix -Wsign-compare warning 2019-04-04 20:13:36 +02:00
Michael Scire
408ae95120 cleanup headers, add crc32 acceleration 2019-04-04 20:13:36 +02:00
Michael Scire
e4481e12cb Implement AES-(128, 192, 256)-CMAC 2019-04-04 20:13:36 +02:00
Michael Scire
13a690a5a8 hmac: expose HMAC_*_KEY_MAX defines 2019-04-04 20:13:36 +02:00
Michael Scire
048a0508bf sha1: unroll all the loops inside processing block 2019-04-04 20:13:36 +02:00
Michael Scire
21a704f0b6 Implement accelerated sha1 + hmac-sha1 2019-04-04 20:13:36 +02:00
Michael Scire
0dde100135 Implement accelerated SHA256, HMAC-SHA256 2019-04-04 20:13:36 +02:00
Michael Scire
e4dda8fa46 minor style fixes 2019-04-04 20:13:36 +02:00
Michael Scire
017b47151d Implement accelerated AES-XTS 2019-04-04 20:13:36 +02:00
Michael Scire
82ae0f0c9e cbc/ctr: expose iv/ctr reset 2019-04-04 20:13:36 +02:00
Michael Scire
3eb6dd45a6 Implement accelerated AES-CTR 2019-04-04 20:13:36 +02:00
Michael Scire
9eb74bc9e0 crypto: fix style in aes_cbc, mark handlers inline. 2019-04-04 20:13:36 +02:00
Michael Scire
9c7adf0c44 crypto: add aes-cbc apis. 2019-04-04 20:13:36 +02:00
Michael Scire
f8375c46c0 crypto: add aes-ecb block enc/dec 2019-04-04 20:13:36 +02:00
yellows8
4f0aa0a589
Updated pctlauth docs. 2019-04-01 21:31:46 -04:00
yellows8
39f40b26ae
Added pctl. 2019-04-01 21:29:51 -04:00
yellows8
7b25d55342
Added pctlauth. 2019-03-31 22:01:48 -04:00
yellows8
9bbcee9bcf
Added libappletStart and libappletLaunch. Updated comments. 2019-03-31 21:59:04 -04:00
yellows8
fd9e02b271
Added romfsMountFromFsdev and fsdevTranslatePath. Internal romfs_dev improvements. 2019-03-29 19:49:08 -04:00
fincs
b7a0aaef09 Release v2.1.0 2019-03-29 18:40:27 +01:00
fincs
1096d7ee8f Add --nx-module-name to linker flags 2019-03-29 18:40:27 +01:00
fincs
56471670ee Remove old C11 threads implementation 2019-03-29 18:40:26 +01:00
fincs
9d9b2efe29 devkitA64 r13 support changes, including pthread support 2019-03-29 18:40:26 +01:00
fincs
626b07fac8 Implement TLS slot support (with destructors) 2019-03-29 18:40:26 +01:00
yellows8
2729cafbe0
Updated ErrorContext struct. 2019-03-29 13:36:40 -04:00
yellows8
3a14e9094a
Fixed error handling with appletHolderPushInData() for tmem-storage in swkbdShow(). 2019-03-28 21:01:04 -04:00
yellows8
b463693094 Changed errorApplicationSetNumber to static inline. 2019-03-28 20:19:38 -04:00
yellows8
8b5a4d580d Various minor changes + changed some error* funcs to static inline. Removed errorResultBacktraceClose, errorSystemClose, and errorApplicationClose. 2019-03-28 20:19:38 -04:00
yellows8
b91bc09c57 Added ErrorType enum. errorCode* funcs are now static inline + minor changes. Updated docs. 2019-03-28 20:19:38 -04:00
yellows8
505042bc73 Added ErrorCode and the funcs for it, funcs which use low/desc now use this instead. Updated docs. 2019-03-28 20:19:38 -04:00
yellows8
71a711e5d7 Updated ErrorContext. 2019-03-28 20:19:38 -04:00
yellows8
0ea16ae8c7 Added errorResultRecordShow/errorCodeRecordShow. 2019-03-28 20:19:38 -04:00
yellows8
f6287086d3 Added errorResultShow/errorCodeShow. Updated ErrorCommonHeader and added ErrorPctlArg. 2019-03-28 20:19:38 -04:00
yellows8
6be5ad949e In errorSystemSetContext(), return immediately on pre-4.0.0. 2019-03-28 20:19:38 -04:00
yellows8
68e3204a88 Added support for errorResultBacktrace*. Updated/added error structs. 2019-03-28 20:19:38 -04:00
yellows8
018441a1f6 Added support for errorEulaShow/errorSystemUpdateEulaShow. 2019-03-28 20:19:38 -04:00
yellows8
1ec8e3b29e Added support for error Application. Allow passing NULL to errorSystemCreate() for fullscreen_message, and minor other adjustments. 2019-03-28 20:19:38 -04:00
yellows8
3995447de7 Renamed error funcs and updated/added structs. Updated errorSystemCreate. Merged errorConfigSetShortDescription/errorConfigSetDetailedDescription into errorSystemCreate. Replaced errorConfigSetModule/errorConfigSetDescription with errorSystemSetCode, and added an errorSystemSetResult wrapper. Added errorSystemSetLanguageCode and errorSystemSetContext. 2019-03-28 20:19:38 -04:00