Commit Graph

1193 Commits

Author SHA1 Message Date
yellows8
b20147eeb7
Added appletExitAndRequestToShowThanksMessage. 2019-08-16 21:10:35 -04:00
yellows8
287bb00981
Enter an infinite-sleep-loop in _appletExitProcess when the exit cmds were successful, this is used with __nx_applet_exit_mode handling. Minor other changes. 2019-08-16 20:33:09 -04:00
yellows8
10e2e71ea2
Enter infinite-sleep-loop in appletRequestToShutdown/appletRequestToReboot. Minor change in appletHolderJump. 2019-08-16 20:19:50 -04:00
yellows8
112da06f37
Renamed AppletNotificationMessage to AppletMessage. Updated docs. 2019-08-16 15:42:04 -04:00
yellows8
eeaa63aa28
Added appletPushContext/appletPopContext. Added appletHolderJump. Added appletGetAppletInfo. Added libappletSetJumpFlag. Added structs AppletProcessLaunchReason and AppletInfo. 2019-08-15 21:43:09 -04:00
yellows8
8db92d48a5
Added libappletArgsPop. Improved docs. 2019-08-14 21:55:07 -04:00
yellows8
77961c6ede
Added appletPopInData, appletPushOutData, appletPopInteractiveInData, appletPushInteractiveOutData, appletGetPopInDataEvent, appletGetPopInteractiveInDataEvent, appletPopExtraStorage, appletGetPopExtraStorageEvent, appletUnpopInData, and appletUnpopExtraStorage. Improved docs. 2019-08-14 18:23:11 -04:00
fincs
067492ee17
nvAddressSpaceCreate: call InitializeEx with the proper page size value... 2019-08-14 21:02:56 +02:00
yellows8
5090c54654
Added appletGetMainAppletAvailableUsers. 2019-08-13 21:26:50 -04:00
yellows8
a17c73e783
Added appletGetMainAppletStorageId, appletGetDesirableKeyboardLayout, appletGetIndirectLayerProducerHandle, and appletGetCurrentApplicationId. 2019-08-13 19:06:39 -04:00
yellows8
b09b2deb2d
Added appletRequestExitToSelf. 2019-08-13 17:18:22 -04:00
yellows8
c516388ba0
Added appletCanUseApplicationCore, appletGetMainAppletApplicationControlProperty, and appletGetMainAppletApplicationDesiredLanguage. Added docs for appletGetDesiredLanguage. 2019-08-13 12:46:49 -04:00
yellows8
0137f582da
Added struct AppletAttribute. Use cmd OpenLibraryAppletProxy on [3.0.0+] when running appletInitialize for AppletType_LibraryApplet. 2019-08-12 11:14:58 -04:00
yellows8
f9ccfb79d2
Added appletGetApplicationIdForLogo, appletSetGpuTimeSliceBoost, appletSetAutoSleepTimeAndDimmingTimeEnabled, appletTerminateApplicationAndSetReason, appletSetScreenShotPermissionGlobally, appletStartShutdownSequenceForOverlay, appletStartRebootSequenceForOverlay, and appletSetHandlingHomeButtonShortPressedEnabled. 2019-08-08 13:35:16 -04:00
yellows8
f5b24bd244
Added appletStartSleepSequence, appletStartShutdownSequence, appletStartRebootSequence, appletIsAutoPowerDownRequested, appletLoadAndApplyIdlePolicySettings, appletNotifyCecSettingsChanged, appletSetDefaultHomeButtonLongPressTime, appletUpdateDefaultDisplayResolution, appletShouldSleepOnBoot, and appletGetHdcpAuthenticationFailedEvent. 2019-08-08 11:32:27 -04:00
averne
f13d9ba6cc Added viDestroyManagedLayer (#316) 2019-08-08 12:41:10 +02:00
yellows8
3bbc181531
Added appletRequestToGetForeground, appletLockForeground, appletUnlockForeground, appletPopFromGeneralChannel, and appletGetPopFromGeneralChannelEvent. 2019-08-07 19:57:03 -04:00
yellows8
75c79e8d5e
Replaced appletHomeButtonReaderLockAccessorGetEvent with appletGetHomeButtonReaderLockAccessor. Added appletGetReaderLockAccessorEx, appletGetWriterLockAccessorEx, and appletGetHomeButtonWriterLockAccessor. Added support for AppletLockAccessor. 2019-08-05 22:40:14 -04:00
fincs
21de119c68
Run TLS destructor after clearing TLS value, as per standard 2019-08-04 21:03:04 +02:00
yellows8
6c194fc6a6
Added appletRequestToAcquireSleepLock, appletReleaseSleepLock, and appletReleaseSleepLockTransiently. 2019-08-03 20:53:42 -04:00
yellows8
1bb777afe7
Added support for IAppletCommonFunctions. Added appletReadThemeStorage, appletWriteThemeStorage, appletGetDisplayLogicalResolution, appletSetDisplayMagnification, appletSetHomeButtonDoubleClickEnabled, and appletGetHomeButtonDoubleClickEnabled. Minor other changes. 2019-08-02 14:16:59 -04:00
yellows8
98fbadc778
Added appletUpdateLastForegroundCaptureImage, appletUpdateCallerAppletCaptureImage, appletGetLastForegroundCaptureImageEx, appletGetLastApplicationCaptureImageEx, appletGetCallerAppletCaptureImageEx, appletTakeScreenShotOfOwnLayer, appletCopyBetweenCaptureBuffers, appletClearCaptureBuffer, appletClearAppletTransitionBuffer, appletAcquireLastApplicationCaptureSharedBuffer, appletReleaseLastApplicationCaptureSharedBuffer, appletAcquireLastForegroundCaptureSharedBuffer, appletReleaseLastForegroundCaptureSharedBuffer, appletAcquireCallerAppletCaptureSharedBuffer, appletReleaseCallerAppletCaptureSharedBuffer, and appletTakeScreenShotOfOwnLayerEx. 2019-08-01 12:24:22 -04:00
yellows8
f49e8cb217
Added struct LibAppletInfo. Added appletHolderGetLibraryAppletInfo and appletGetLibraryAppletInfo. 2019-07-30 20:03:24 -04:00
yellows8
2257e3ccf4
Updated LibAppletMode enum and added appletHolderSetOutOfFocusApplicationSuspendingEnabled. 2019-07-30 17:34:05 -04:00
fincs
b3dd512253 Fix typo in nvAddressSpaceModify 2019-07-30 16:35:35 +02:00
yellows8
6df890c47b
Added appletSetExpectedMasterVolume, appletGetExpectedMasterVolume, appletChangeMainAppletMasterVolume, and appletSetTransparentVolumeRate. 2019-07-29 22:05:32 -04:00
yellows8
773111b3f2
Cache the preselected user in accountInitialize. Get/set the preselected userID in env, so that accountGetPreselectedUser() is usable multiple times. Renamed accountGetActiveUser to accountGetLastOpenedUser. Improved docs. 2019-07-29 19:00:52 -04:00
yellows8
4fa878f4b1
Added hidGetSupportedNpadStyleSet. Moved hidSetSupportedNpadStyleSet to match cmd order. Added hidsysGetSupportedNpadStyleSetOfCallerApplet. 2019-07-29 18:22:46 -04:00
yellows8
7310c8f880
Added appletGetAppletResourceUserIdOfCallerApplet, appletSetAppletWindowVisibility, and appletSetAppletGpuTimeSlice. Minor other change. 2019-07-29 18:18:19 -04:00
fincs
01d648e7ed Add support for new homebrew ABI keys + loader info 2019-07-29 21:17:09 +02:00
yellows8
409957c432
Added appletGetCradleFwVersion, appletIsInControllerFirmwareUpdateSection, appletSetPerformanceConfigurationChangedNotification, and appletGetOperationModeSystemInfo. Moved appletHomeButtonReaderLockAccessorGetEvent to match cmd order. Fixed a check in appletGetDefaultDisplayResolution. 2019-07-28 20:52:37 -04:00
yellows8
93eaa74131
Added appletGetCradleStatus and appletGetBootMode. Added _appletCmdNoInOutU8 for internal use, which _appletCmdNoInOutBool now uses. Fixed docs. 2019-07-27 12:33:56 -04:00
yellows8
aeca9041d5
Added appletGetApplicationIdByContentActionName. 2019-07-25 23:47:03 -04:00
yellows8
31d34a6915
Added AppletTvPowerStateMatchingMode and AppletSystemButtonType. Added appletSetLcdBacklightOffEnabled, appletGetDefaultDisplayResolution, appletGetDefaultDisplayResolutionChangeEvent, appletGetHdcpAuthenticationState, appletGetHdcpAuthenticationStateChangeEvent, appletSetTvPowerStateMatchingMode, and appletPerformSystemButtonPressingIfInFocus. Minor other changes. 2019-07-25 21:40:42 -04:00
yellows8
3b2e484d88
Minor appletNotifyRunning improvements and added docs. 2019-07-25 20:26:34 -04:00
yellows8
493abc7703
Moved sections in applet.c/.h to match the order of the get-session cmds. Improved docs/comments. 2019-07-25 16:23:35 -04:00
yellows8
ed2f4a68f7
Added appletIsSystemBufferSharingEnabled, appletGetSystemSharedLayerHandle, and appletGetSystemSharedBufferHandle. 2019-07-24 19:45:39 -04:00
yellows8
974f5b9a1b
Added AppletIdentityInfo and AppletId_application. Moved sections in applet.h to match the applet.c order. Added/updated comments/docs. Check applet-type in _appletExitProcessAndReturn. Added appletSetScreenShotAppletIdentityInfo, appletGetMainAppletIdentityInfo, appletGetCallerAppletIdentityInfo, appletGetCallerAppletIdentityInfoStack, and appletGetNextReturnDestinationAppletIdentityInfo. 2019-07-24 16:20:52 -04:00
Adubbz
b59682652d Implement various SaveDataExtraData commands (#315)
* Implement fsReadSaveDataFileSystemExtraData

* Implement fsReadSaveDataFileSystemExtraDataBySaveDataSpaceId and fsWriteSaveDataFileSystemExtraData
2019-07-24 11:28:05 -04:00
yellows8
a5e4609be3
Added appletGetProgramTotalActiveTime. 2019-07-23 10:57:35 -04:00
averne
2b84eaeaed Fix nfc:user command ids 2019-07-22 22:13:32 +02:00
Adubbz
bc5d01400f Implement fsOpenGameCardFileSystem 2019-07-22 22:09:22 +02:00
yellows8
6942c8db75
Added AppletHookType_RequestToDisplay, AppletNotificationMessage_RequestToDisplay, and AlbumImageOrientation. Added appletSetControllerFirmwareUpdateSection, appletSetDesirableKeyboardLayout, appletSetHandlesRequestToDisplay, appletApproveToDisplay, appletOverrideAutoSleepTimeAndDimmingTime, appletSetIdleTimeDetectionExtension, appletGetIdleTimeDetectionExtension, appletSetInputDetectionSourceSet, appletReportUserIsActive, appletSetAutoSleepDisabled, appletIsAutoSleepDisabled, and appletSetWirelessPriorityMode. Improved docs. 2019-07-20 13:18:58 -04:00
Thomas Guillemard
3f6cf66243 Make it possible to use the binder API with an arbitrary service (#309)
This is useful if you want to connect to "dispdrv" for example.
2019-07-18 19:12:03 +02:00
Thog
c73b8ceeb9 fix parcelReadData size checking 2019-07-18 19:11:48 +02:00
yellows8
74337842a0
Added AppletNotificationMessage enum and improved docs. Added support for appletSetRestartMessageEnabled, appletSetRequiresCaptureButtonShortPressedMessage, and appletSetAlbumImageTakenNotificationEnabled. Renamed appletSetScreenShotImageOrientation to appletSetAlbumImageOrientation. 2019-07-17 19:15:53 -04:00
yellows8
f760be337e
Minor internal applet.c improvements. 2019-07-17 17:27:01 -04:00
yellows8
c484b33995
Use InitializeApplicationInfo in accountInitialize when initializing with acc:u0. Handle cleanup on failure in accountInitialize. 2019-07-16 18:20:29 -04:00
yellows8
b896b33e3e
Added appletEnterFatalSection/appletLeaveFatalSection. 2019-07-16 15:47:47 -04:00
yellows8
f13b75d87c
Added appletGetPseudoDeviceId and appletSetApplicationAlbumUserData. Use ipcQueryPointerBufferSize for ISelfController in appletInitialize. Moved appletIsIlluminanceAvailable in applet.h to match cmd order. 2019-07-16 12:27:46 -04:00
Michael Scire
463c0f3379 vi: fix manager/system service init 2019-07-16 00:08:54 +02:00
yellows8
933cfb543d
Added support for applet ApplicationCopyright. Fixed a comment. 2019-07-14 17:42:46 -04:00
yellows8
333de18494
Added appletRequestToShutdown and appletRequestToReboot. 2019-07-13 20:04:26 -04:00
yellows8
3270bf3996
Reordered applet funcs to match cmdid order, improved docs, etc. Added appletBeginBlockingHomeButtonShortAndLongPressed and appletEndBlockingHomeButtonShortAndLongPressed. 2019-07-13 19:45:53 -04:00
yellows8
2262259984
Added appletGetDisplayVersion. 2019-07-13 18:57:37 -04:00
friedkeenan
da4c060278 Add a bunch of GetServiceSession functions (#305)
* Add a bunch of GetServiceSession functions
2019-07-13 15:09:28 -04:00
yellows8
40d7e0de51
Use an enum for appletSetScreenShotPermission with info from wiki. Improved applet docs. Use _appletIsApplication() instead of _appletIsRegularApplication() in appletQueryApplicationPlayStatistics/appletQueryApplicationPlayStatisticsByUid. Added appletGetGpuErrorDetectedSystemEvent. Added support for the [7.0.0+] CreateApplication*ToStartForQuest cmds. 2019-07-13 10:45:40 -04:00
Adubbz
0e724040ad Added fsDeleteSaveDataFileSystemBySaveDataSpaceId (#304) 2019-07-13 14:21:16 +02:00
yellows8
f418536e37
Added support for pdmqry. 2019-07-09 21:18:42 -04: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
friedkeenan
61c0f4b2d9 Add hidsysGetUniquePadSerialNumber (#303) 2019-07-05 03:55:22 +02:00
Thomas Guillemard
2c1763c692 Add more ITimeZoneService related commands (#300)
This commit adds timeGetDeviceLocationName, timeSetDeviceLocationName, timeGetTotalLocationNameCount, timeLoadLocationNameList, timeLoadTimeZoneRule, timeToPosixTime, timeToPosixTimeWithMyRule, and timeToCalendarTime.
2019-07-03 21:29:24 +02:00
yellows8
9a607a369e
Properly convert the input id in irsGetIrCameraHandle(). 2019-07-01 22:04:48 -04:00
yellows8
7f7ba17802
Fixed appletQueryApplicationPlayStatistics and added appletQueryApplicationPlayStatisticsByUid. Renamed AppletApplicationPlayStatistics to PdmApplicationPlayStatistics, updated it, and moved it to new file pdm.h. 2019-06-29 20:44:55 -04:00
yellows8
b938016a67
Minor hiddbg fixes. 2019-06-28 21:39:33 -04:00
yellows8
156410b549
Added support for AbstractedPad. Improved hiddbgInitialize(). Updated hiddbg docs. 2019-06-28 21:36:53 -04:00
SciresM
950e1ec5ed pm: add bm cmds, BoostSystemThreadResourceLimit (#299) 2019-06-29 00:35:22 +02:00
yellows8
e1e2a05a34
Added hiddbgUpdateControllerColor and hiddbgUpdateDesignInfo. 2019-06-26 15:05:11 -04:00
Michael Scire
a065244e4b ldr: fix getter error 2019-06-26 19:16:10 +02:00
Michael Scire
48133f72ce ldr: add getters for shell/dmnt/pm 2019-06-26 17:33:10 +02:00
yellows8
74c102ed3f
Added hiddbgReadSerialFlash. 2019-06-25 22:40:49 -04:00
Michael Scire
18f977aa76 pm: add getters for pminfo, pmshell 2019-06-25 16:13:52 +02:00
Michael Scire
6978003c42 sm/smm: Add GetServiceSession 2019-06-24 21:43:45 +02:00
SciresM
e1a6a463c2 Add enums for GetInfo/GetSystemInfo (#292) 2019-06-22 00:05:56 +02:00
averne
9c887a13b4 Clear finalized field upon hmac context creation 2019-06-15 16:29:49 -04:00
yellows8
006ebc0633
Fixed romfsUnmount RemoveDevice handling. 2019-06-13 19:41:35 -04:00
yellows8
5a3eb542b2
Updated Hdls structs and docs. Added hidGetControllerDeviceType, hidGetControllerFlags, and hidGetControllerPowerInfo. Added/updated hid structs. 2019-06-08 21:51:46 -04:00
Pablo Curiel
e3d7b12c96 Remove RomFS devoptab device on unmount. 2019-06-08 17:16:55 +02:00
fincs
77f1d357e5 Fix stupid mistake in binderInitSession error cleanup code 2019-06-07 03:14:41 +02:00
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
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
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
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
Michael Scire
4094c014ff spl: fix BootReason command names 2019-05-03 03:33:56 +02:00
fincs
42878b603a Use eventActive instead of manually checking Event::revent 2019-04-30 02:31:47 +02: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
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
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
Michael Scire
e4481e12cb Implement AES-(128, 192, 256)-CMAC 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
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
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
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
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
yellows8
9bf699f712 Improved error-applet launching handling. Updated ErrorConfig and added ErrorContext. 2019-03-28 20:19:38 -04:00
Liam Minopulos
ecfc8f8966 Added error LibraryApplet wrapper (#243)
* Implement error applet
2019-03-28 20:19:38 -04:00
plutoo
b7fe92f3a2 rwlock: Move over to condvar implementation. (#255)
This one is superior to the previous because it is write-preferring.
2019-03-28 23:53:04 +01:00
Michael Scire
5575966d0c fix fsdev bug 2019-03-25 00:02:18 +01:00
Michael Scire
1bea504732 Added fsOpenDataStorageByDataId and romfsMountFromDataArchive 2019-03-25 00:02:18 +01:00
Michael Scire
43128b613b romfs: refactor to allow specifying mount name 2019-03-25 00:02:18 +01:00
natinusala
9c016a4cee Implemented nifmGetInternetConnectionStatus 2019-03-19 12:35:52 -04:00
Michael Theall
b49cb8a1a6 const params for usbDs 2019-03-16 00:07:39 +01:00
exelix
093471609d Change nifm initialization mode and add SetWirelessCommunicationEnabled (#247)
* Init nifm in the proper context, add SetWirelessCommunicationEnabled
* add nifmSetServiceType to set which nifm service to init
2019-03-15 17:11:40 -04:00
natinusala
a7facade0a Implement wlaninfGetState and wlaninfGetRSSI 2019-03-15 11:35:02 -04:00
yellows8
c542d3ab8a Added hidMouseMultiRead + mouse handling adjustments. Closes #235. 2019-03-11 23:34:58 -04:00
yellows8
275a61a2e2 Improved WebWifi, including handling for NULL conntest_url. 2019-03-09 16:18:10 -05:00
yellows8
bf3673c19f Added WebFooterFixedKind enum. Actually check sysver in webConfigSetFooterFixedKind. Updated web docs. 2019-03-07 21:36:48 -05:00
yellows8
4160622165 Support passing NULL for webConfigShow out. Minor docs adjustment. 2019-03-06 23:46:46 -05:00
yellows8
9e52d7c4df Check for sysver [3.0.0+] for viSetDisplayMagnification. 2019-03-06 13:56:36 -05:00
yellows8
9d0603845a Updated WebBootDisplayKind and added WebBackgroundKind + WebLeftStickMode. Improved web docs. 2019-03-05 23:33:54 -05:00
exelix
2d1116743e Add wrappers for brightness-related functions (#246)
* Add wrappers for brightness-related functions
2019-03-04 21:37:33 -05:00
yellows8
966d554e7d Use PACKED for raw in _binderTransactParcelAuto. 2019-03-04 20:21:38 -05:00
yellows8
18a4351330 Use the actual enum for webConfigSetBootDisplayKind instead of u32. Improved web docs. 2019-03-04 17:20:18 -05:00
yellows8
a897b9a836 Moved web common AppletHolder into WebCommonConfig, _webShow now takes AppletHolder as a param. Added webConfigRequestExit. Renamed WebExitReason_Unknown2 to WebExitReason_Requested. 2019-03-04 10:46:19 -05:00
yellows8
d353213d72 Added appletHolderRequestExit. 2019-03-04 10:42:07 -05:00
yellows8
c10508d95e Added WebExitReason enum and improved LastUrl/CallbackUrl docs. 2019-03-03 23:30:06 -05:00
yellows8
ded540e5f1 Implemented full support for web Offline-applet + minor other changes. Improved web docs. 2019-03-03 20:37:14 -05:00
yellows8
b19c35fe2c Added webReplyGet* funcs. Added WebReplyType enum and _webTLVReadVarSize. 2019-03-02 20:44:22 -05:00
yellows8
2ed160624a webConfigShow now uses new struct WebCommonReply as the output, for supporting WebCommonTLVStorage reply data. 2019-03-02 11:11:39 -05:00
yellows8
bc7b178036 Added webConfigSetAdditionalCommentText, webConfigSetAdditionalMediaData, and webConfigSetMediaCreatorApplicationRatingAge. Improved web docs. 2019-03-01 22:49:01 -05:00
yellows8
166652a0eb Removed version check from webShareCreate. 2019-03-01 22:25:23 -05:00
yellows8
dc3cf7084e Added webConfigSetAlbumEntry and webConfigSetApplicationAlbumEntry. 2019-03-01 22:17:11 -05:00
yellows8
fbf1aab792 Initial support for web ShareApplet. Check shim-kind in webConfigSetDisplayUrlKind. 2019-03-01 21:54:45 -05:00
yellows8
6211510b21 In webConfigSetBootAsMediaPlayer with News on 3.0.0+, set WebArgType_BootAsMediaPlayerInverted. Added _webTLVRead/_webConfigGet*. Improved web docs. 2019-03-01 16:33:13 -05:00
yellows8
ff3a4f9844 Renamed usbDsEndpoint_StallCtrl to *Stall. 2019-03-01 12:40:23 -05:00
yellows8
121f2cf868 Added webConfigSetScreenShot, and minor other web changes. 2019-02-28 22:15:18 -05:00
yellows8
4ef0dd09f0 Added webConfigSetMediaPlayerUserGestureRestriction, webConfigSetJsExtension, webConfigSetTouchEnabledOnContents, webConfigSetPageCache, webConfigSetWebAudio, webConfigSetFooterFixedKind, webConfigSetPageFade, webConfigSetBootLoadingIcon, and webConfigSetPageScrollIndicator. Minor other changes. 2019-02-28 21:54:08 -05:00
yellows8
5f9264df16 Added webConfigSetFooter and webConfigSetKeyRepeatFrame. 2019-02-28 17:54:57 -05:00
yellows8
344d87a3e4 Added support for web Lobby applet. Added webConfigSetBackgroundKind, webConfigSetPointer, and webConfigSetLeftStickMode. Fixed order of web funcs. Minor other web adjustments. 2019-02-28 13:07:56 -05:00
yellows8
6736053ae1 Added webConfigSetUserID, and internal web adjustments. 2019-02-27 22:48:48 -05:00
yellows8
526441a547 Added webYouTubeVideoCreate and improved web docs. 2019-02-27 20:44:11 -05:00
yellows8
81ce04eb7b In nxlinkStdio(), return sock on success instead of ret. 2019-02-27 19:15:31 -05:00
yellows8
6dea82a668 Moved applet notification-msg handling code into new funcs appletGetMessage and appletProcessMessage (with some improvements), which appletMainLoop now calls. 2019-02-27 19:03:35 -05:00
yellows8
eb750b641b Added webNewsCreate, webConfigSetEcClientCert, and webConfigSetShopJump. Improved web docs. 2019-02-27 17:52:00 -05:00
exelix
ad5b8c019f Add some functions from IOverlayAppletProxy and hid:sys (#242) 2019-02-27 16:17:03 +01:00
Michael Scire
d2c24bbe10 pm: Add pmdmntGetServiceSession() 2019-02-27 12:44:44 +01:00
yellows8
ef71282f31 Added webConfigSetBootAsMediaPlayer and webConfigSetMediaPlayerAutoClose. Updated WebBootDisplayKind. Removed 'Enabled' from WebArgType enums. 2019-02-26 21:54:47 -05:00
yellows8
a48f7c3502 Added webConfigSetBootDisplayKind and enum WebBootDisplayKind. Added enum WebShimKind_Offline. Minor other web adjustments. 2019-02-26 19:40:20 -05:00
yellows8
9e11dd1bd7 Added error handling for web TLVs. webPageCreate and webConfigSet* now return Result. Moved webWifiCreate/webWifiShow immediately after _webShow in web.c. 2019-02-26 17:55:16 -05:00
yellows8
2cd9825074 Added webConfigSetCallbackUrl, webConfigSetCallbackableUrl, and webConfigSetUserAgentAdditionalString. Improved web docs. 2019-02-26 15:16:26 -05:00
yellows8
50e2d43b70 Added WebArgType enum. 2019-02-25 23:22:49 -05:00
yellows8
91bf06653e Added webConfigSetDisplayUrlKind. Added more _webConfigSet* funcs. 2019-02-25 21:23:53 -05:00
yellows8
708ad83ead Renamed webShow to webConfigShow. Added webConfigSetWhitelist. 2019-02-25 20:12:36 -05:00
yellows8
7ccc29f397 Internal web arg handling improvements. 2019-02-25 19:38:15 -05:00
yellows8
ec5f1dc17f Renamed WebPageConfig to WebCommonConfig with more fields. Renamed webPageShow to webShow. Various web improvements including version handling. 2019-02-25 19:08:49 -05:00
yellows8
9f45bb4d7e Fixed IPC issues with bsdRead. 2019-02-24 22:17:27 -05:00
yellows8
4b8e501fdb Various web improvements, changed/added some structs. 2019-02-23 17:00:10 -05:00
fincs
bf13da990a Critical fix in new barrier impl 2019-02-23 21:09:41 +01:00
plutooo
e8f3964475 barrier: More efficient impl, maybe 2019-02-23 21:05:39 +01:00
yellows8
0a230bae65 Fixed issue in _webTLVWrite. Updated web docs. The url param for webPageCreate is no longer optional. 2019-02-21 00:15:09 -05:00
yellows8
601c76b508 Initial support for WebApplet/non-webWifi. 2019-02-20 23:42:17 -05:00
yellows8
425df41e7e Improved internal web applet launching/exit handling. 2019-02-20 18:34:16 -05:00
yellows8
d61c2d07b6 Added appletRequestLaunchApplication and appletRequestLaunchApplicationForQuest. 2019-02-19 23:12:29 -05:00
yellows8
d90893c566 Expose libappletCreateWriteStorage. 2019-02-19 21:46:53 -05:00
yellows8
e2f05654dd Moved web applet-exit handling into a dedicated func, which can optionally handle reading the applet reply storage. Added out param to webWifiShow for the applet reply data. 2019-02-18 22:32:18 -05:00
yellows8
f392dc0ce2 Added libappletReadStorage and libappletPopOutData. 2019-02-18 22:29:53 -05:00
yellows8
821c46539d Added 7.0.0+ support for _viCreateStrayLayer. 2019-02-18 22:26:22 -05:00
yellows8
e3f021bab3 Verify that the version is 2.0.0+ in swkbdInlineCreate. 2019-02-18 16:42:12 -05:00
fincs
11b7bece4a Change all services except fatal to use hosversion* instead of kernelAboveXYZ 2019-02-18 21:48:49 +01:00
fincs
61cc738730 Introduce hosversion.h - HOS version detection utilities
- Simplify kernel/detect.h logic; introduce detectKernelVersion()
- Use set:sys (if available) during __appInit in order to initialize
  the current HOS version
2019-02-18 21:48:41 +01:00
yellows8
6c3f72929d Fixed WebWifiPageArg struct, improved web-wifi handling and added docs. 2019-02-18 12:29:40 -05:00
fincs
ee2e19ce38 Improve names/documentation for jit kernel patch functions in detect.h/c + codestylefixes 2019-02-16 16:42:08 +01:00
yellows8
1cb2c18fa5 Added capssc. 2019-02-15 20:30:39 -05:00
averne
7d9601810d Added nfp:user services wrappers. (#237)
* hid: move official/libnx controller converters to hid.h
2019-02-15 19:06:41 +01:00
plutooo
17731d750e Add function to test OFW behavior under CFW 2019-02-14 22:03:47 +01:00
plutooo
fc557cbf2a Detect and use the CFW jit patch. 2019-02-13 22:40:00 +01:00
yellows8
16cbf1c9f6 Fixed minimum required sysver for capssu. 2019-02-11 20:36:41 -05:00
yellows8
e02b6c167a Added capssu and caps.h. 2019-02-08 19:47:13 -05:00
Lioncash
224ba8a87d hwopus: Provide a better name for the flag parameter of _hwopusDecodeInterleaved()
This is a flag that determines whether or not a request to reset the
decoder context should occur prior to decoding. This is an analogue to the
libopus ctl:

opus_decoder_ctl(decoder, OPUS_RESET_STATE);

which is generally used when switching streams to keep decoder state
consistent.
2019-01-30 18:00:48 +01:00
yellows8
b3b5816fd0 Added swkbdInlineAppearArgSetLeftButtonText and swkbdInlineAppearArgSetRightButtonText. 2019-01-28 21:15:45 -05:00
yellows8
2ebac06061 Updated swkbdInlineMakeAppearArg, this now just writes defaults and sets type to the input param. Added swkbdInlineAppearArgSetOkButtonText. 2019-01-28 16:54:38 -05:00
shibbs
131b92a8c8 Add in more NIFM functionality (#236) 2019-01-27 00:12:15 +01:00
yellows8
6b91ac26a5 Added swkbdInlineSetUserWordInfo/swkbdInlineUnsetUserWordInfo. Handle storage-tmem closing in _swkbdProcessReply. Better CustomizeDic handling. Other changes. 2019-01-22 22:29:48 -05:00
yellows8
4a119e4028 Added swkbdInlineSetCustomizeDic/swkbdInlineUnsetCustomizeDic. Updated SwkbdChangedStringArg struct. 2019-01-21 18:33:15 -05:00
yellows8
be8e196eb0 Moved state field from swkbdInlineUpdate into SwkbdInline, and added out_state param. Removed unused State param from _swkbdProcessReply. Added SwkbdState enum. 2019-01-18 23:48:31 -05:00
yellows8
dbadcd76ed Implemented _swkbdProcessReply() with actual handling. Added set-callback funcs. Automatically call swkbdInlineSetUtf8Mode in swkbdInlineCreate. 2019-01-18 22:11:41 -05:00
Samuel P
8360e561c5 Added WifiWebAuthApplet launching (#233)
* Added WifiWebAuthApplet launching
2019-01-18 20:00:34 -05:00
yellows8
40d5fb8587 Added SwkbdReplyType. Added initial impl for _swkbdProcessReply. 2019-01-17 21:31:18 -05:00
yellows8
4250fb3752 Updated SwkbdInlineCalcArg struct. Added: swkbdInlineSetKeytopBgAlpha, swkbdInlineSetFooterBgAlpha, swkbdInlineSetKeytopScale, and swkbdInlineSetKeytopTranslate. Implemented field updating in swkbdInlineUpdate. 2019-01-16 20:34:53 -05:00
yellows8
8cc321d0f1 Allocate tmp-buffers for swkbd-inline, for use in swkbdInlineUpdate. Moved code for writing bool flags into dedicated funcs. Added: swkbdInlineSetInputModeFadeType, swkbdInlineSetAlphaEnabledInInputMode, swkbdInlineSetKeytopAsFloating, swkbdInlineSetFooterScalable. Removed a comment. 2019-01-15 21:31:02 -05:00
yellows8
74683089a0 Fixed+updated swkbd-inline structs. Added: swkbdInlineSetVolume, swkbdInlineSetInputText, swkbdInlineSetCursorPos, swkbdInlineSetUtf8Mode, swkbdInlineSetTouchFlag, swkbdInlineSetUSBKeyboardFlag, swkbdInlineSetDirectionalButtonAssignFlag, swkbdInlineSetSeGroup, and swkbdInlineSetBackspaceFlag. Added some storage reading to swkbdInlineUpdate. 2019-01-15 16:51:19 -05:00
yellows8
1a91c10c19 Added SwkbdInlineMode enum. 2019-01-14 14:57:28 -05:00
yellows8
9d5127d37d Improved keySetDisableBitmask handling in swkbdInlineMakeAppearArg. 2019-01-14 11:14:50 -05:00
yellows8
203aa2b368 Added viGetIndirectLayerImageMap and viGetIndirectLayerImageRequiredMemoryInfo. 2019-01-14 11:12:49 -05:00
yellows8
a812587a31 Updated SwkbdAppearArg. Updated comments. 2019-01-13 19:51:01 -05:00
yellows8
8cd2808eff Added swkbdInlineAppear, swkbdInlineDisappear, and swkbdInlineMakeAppearArg. Updated SwkbdAppearArg. 2019-01-11 18:24:14 -05:00
Cpasjuste
855a719728 c11-threads: return thrd_timedout on cnd_timedwait timeout (#232) 2019-01-09 13:33:23 +01:00
yellows8
2e3fd9bd9f Use const for appletQueryApplicationPlayStatistics. 2019-01-05 14:47:42 -05:00
yellows8
2ccaa302a1 Added appletQueryApplicationPlayStatistics. Use BufferType_Normal instead of 0 in _appletGetSessionProxy. 2019-01-05 14:34:18 -05:00