Commit Graph

1394 Commits

Author SHA1 Message Date
yellows8
75795933a7
nifm: Updated for new-ipc. Added nifmGetServiceSession_StaticService and nifmGetServiceSession_GeneralService. Fixed order of cmds and improved docs. Improved _nifmCreateGeneralService. 2019-10-05 12:38:42 -04:00
yellows8
be2cb63722
wlaninf: Updated for new-ipc. 2019-10-04 20:36:51 -04:00
yellows8
1c334bafb9
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
yellows8
c8550c378b
Include sf/service.h instead of sm.h, in the service/ headers for services which were previously updated for new-ipc. 2019-10-04 10:20:15 -04:00
yellows8
62192cac0a
Removed sm.h include from applet.c which is no longer needed. 2019-10-03 21:48:36 -04:00
yellows8
c4b1a68269
applet: Added macros in applet.c for defining cmds' impl in a single line, using the ipc helper funcs. Some cmds which previously didn't have NotInitialized checks now do so via the macros. Fixed the order of some cmds. 2019-10-03 20:03:45 -04:00
XorTroll
9eb4bfca20 Add missing hidsys function in header 2019-10-03 17:28:35 +02:00
Adubbz
0395a4190e Adjust NcmApplicationMetaExtendedHeader for 9.0.0 2019-10-03 16:09:33 +02:00
yellows8
9916fe93a0
applet: Updated for new-ipc, various internal improvements, and changed the transfer_size param type for appletReadThemeStorage to u64. 2019-10-02 19:02:20 -04:00
yellows8
f17773c64f
Check for nullptr before copying to out_data in serviceDispatchImpl. 2019-10-01 20:50:09 -04:00
yellows8
127408a1f7
Fixed ipc output/etc for ncmContentStorageListPlaceHolder, nsvmGetSafeSystemVersion, and nsdevPrepareLaunchProgramFromHost (caused by new-ipc changes). 2019-10-01 20:43:03 -04:00
yellows8
2e56959916
Updated ts for new IPC. 2019-09-30 20:04:51 -04:00
yellows8
08272ed12e
Improved docs. Added nsGetServiceSession_GetterInterface, nsGetServiceSession_ApplicationManagerInterface, nsvmGetServiceSession, nsdevGetServiceSession, and nssuGetServiceSession. 2019-09-30 19:23:36 -04:00
Adubbz
33d8c83ddc ncm: Use u8 rather than actual types to ensure correct struct sizes 2019-09-30 16:11:55 +02:00
yellows8
e02f3a82b8
Minor docs fix. 2019-09-30 01:49:32 -04:00
yellows8
80880728e5
Updated NsSystemUpdateProgress docs. 2019-09-30 01:44:34 -04:00
yellows8
fe836e2145
Updated NsSystemDeliveryInfo docs. 2019-09-27 00:18:54 -04:00
yellows8
e0c72684c5
Minor comments alignment adjustment. 2019-09-26 23:48:25 -04:00
yellows8
ab1903e382
Updated the NsSystemUpdateProgress struct. 2019-09-26 23:47:08 -04:00
yellows8
ae9bd198a7
Updated the NsSystemDeliveryInfo struct. 2019-09-26 19:53:55 -04:00
yellows8
e483dc87a0
Added NsApplicationControlSource for use with nsGetApplicationControlData. Fixed actual_size handling for nsGetApplicationControlData. 2019-09-26 18:42:47 -04:00
yellows8
653a1a6b9a
Fixed the param and sysver-check for nsvmGetSafeSystemVersion, and updated docs. 2019-09-26 17:21:54 -04:00
yellows8
075a743cfb
Added support for nssu, and added the structs/enums for it. Added NSSU_CARDUPDATE_TMEM_SIZE_DEFAULT. Moved cmd_id param in the ns helper funcs to the last param. Improved docs. 2019-09-26 17:07:26 -04:00
yellows8
0749dfd67f
Added services/async. 2019-09-26 16:57:39 -04:00
Adubbz
8330f23d20 Updated ncm to new libnx ipc (#331)
* Updated to new libnx ipc
* Improved docs
* Added firmware req comments
* Improved ncmContentMetaDatabaseGetContentIdByType
* Fix ncmContentMetaDatabaseGetContentIdByTypeAndIdOffset
2019-09-25 21:52:51 -04:00
yellows8
f9eb0c88ee
Use new IPC with ns. Updated the params for nsListApplicationRecord/nsListApplicationContentMetaStatus. Updated docs. 2019-09-23 21:01:10 -04:00
yellows8
c93fab39c8
Added ncm docs. 2019-09-23 17:00:16 -04:00
yellows8
66a4db694b
Added docs for FsStorageId. 2019-09-23 16:58:58 -04:00
fincs
b30b567228
fsdev: Convert time into proper POSIX UTC timestamps (FS reports local time instead) 2019-09-22 18:14:10 +02:00
fincs
c3f0210cf6
time: Correct timeToPosixTime(WithMyRule) to accept number of timestamps instead of raw byte size 2019-09-22 18:12:28 +02: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
21d15b5a8e
cmif: Fix C++ warnings and errors 2019-09-21 14:15:19 +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
Michael Scire
76daefae78 ro: update to use new-ipc 2019-09-20 12:17:57 -07:00
Michael Scire
f5f768ea5c fsldr: update to use new-ipc 2019-09-20 12:17:46 -07:00
Michael Scire
aafbc310c2 spl: update to use new-ipc 2019-09-20 12:17:27 -07:00
Michael Scire
f465206082 pm: update to use new-ipc 2019-09-20 12:16:54 -07: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
fincs
d7564ce80d
Add serviceAssumeDomain + minor codegen optimization in serviceDispatch* 2019-09-20 19:27:24 +02:00
fincs
96fc7dd8cd
Minor style fixes in new IPC code 2019-09-20 14:54:45 +02:00
fincs
5ab1219f40
Add internal service guard helper, needed for proper thread safe service init/exit 2019-09-20 02:28:46 +02:00
fincs
c3b920d210
cmif/service: Support passing optional 5.0.0+ context data to requests 2019-09-20 01:48:10 +02:00
fincs
4eda677b93
Add compiler optimization hint to remove unused domain handling code 2019-09-20 01:36:22 +02:00
fincs
2224be3f88
Add cmifCloneCurrentObject and serviceClone (i.e. non-Ex variants) 2019-09-20 00:11:44 +02:00
fincs
dedd29b431
sm: Remove smHasInitialized (use Initialize+GetService+Exit instead) 2019-09-19 23:47:37 +02:00
fincs
43ad77e8d2
nv: Use new IPC interface 2019-09-19 13:23:16 +02:00
fincs
20b26296af
Replace serviceClone with serviceCloneEx 2019-09-19 13:21:21 +02:00
fincs
99c325ed5b
Further cleanup in SM code; smEncodeName is now constexpr 2019-09-19 12:56:21 +02:00