Commit graph

650 commits

Author SHA1 Message Date
Michael Scire
8114a52d13 Stratosphere: Update sm.json to use new JSON format for elf2kip 2018-04-23 01:06:37 -06:00
Michael Scire
86d9f51e8a Stratosphere: Add sm.json for elf2kip 2018-04-23 00:33:30 -06:00
Michael Scire
ecf2517bd5 Stratosphere: Fix IServer constructors. SM is fully functional on hardware now. 2018-04-22 05:13:33 -06:00
Michael Scire
674528b246 Stratosphere: Implement support for deferred commands. Finish sm GetService()'s deferred path. 2018-04-22 03:02:19 -06:00
Michael Scire
809090e40d Stratosphere: Fix smhax. 2018-04-22 01:13:36 -06:00
Michael Scire
c8ef305880 Stratosphere: Create sm:m internally for sm, instead of using IPC. 2018-04-22 00:33:16 -06:00
Michael Scire
080816f2b6 Add ExistingPortServer to libstratosphere 2018-04-22 00:33:09 -06:00
Michael Scire
f1cf6dcf97 Implement all of sm. 2018-04-22 00:11:57 -06:00
Michael Scire
61cbb0f86e Stratosphere: Implement sm:->Initialize() 2018-04-21 21:40:26 -06:00
Michael Scire
d0ef3b1c71 Stratosphere: Skeleton all services for sm. 2018-04-21 21:17:57 -06:00
Michael Scire
7dc5a5914b Stratosphere: Move boost/callable_traits into libstratosphere 2018-04-21 21:15:54 -06:00
Michael Scire
044d367eda Stratosphere: ServiceServer<T> -> IServer<T> as abstract base class. 2018-04-21 20:57:24 -06:00
Michael Scire
4aa93ad354 IPC templating style fix 2018-04-21 20:38:13 -06:00
Michael Scire
b81ceeca21 Stratosphere: extract common code to libstratosphere. 2018-04-21 20:31:06 -06:00
Michael Scire
6a51ce25b3 Stratosphere: Skeleton create process up through the ProcessCreation::CreateProcess() call 2018-04-21 19:52:49 -06:00
Michael Scire
878d68f7e0 Stratosphere: Add handle/pid output to IPC templating, fix failure condition message preparation. 2018-04-21 05:17:31 -06:00
Michael Scire
b6ba7b94b9 Stratosphere: Implement ldr:pm->GetProgramInfo() 2018-04-20 23:58:42 -06:00
Michael Scire
0fb107fb86 Stratosphere: Add arguments to GetProgramInfo 2018-04-20 21:38:51 -06:00
Michael Scire
b69c6eff15 Fix padding for C descriptors 2018-04-20 21:06:32 -06:00
Michael Scire
a127233e41 Adjust padding for C descriptor size parsing 2018-04-20 21:03:26 -06:00
Michael Scire
7a2cfa4d60 Stratosphere: Add WrapIpcCommandImpl templating. 2018-04-20 19:34:39 -06:00
Michael Scire
271272e13b Stratosphere: Fix IPC rawdata out size, QueryPointerBufferSize works on hardware now. 2018-04-19 16:53:09 -06:00
Michael Scire
eded273328 Fix IpcControlCommand enum member name 2018-04-19 16:41:51 -06:00
Michael Scire
3aa51a375d Stratosphere: Skeleton more Control Command, implement QueryPointerBufferSize 2018-04-19 16:40:05 -06:00
Michael Scire
71427677cc Fix indentation 2018-04-19 16:29:44 -06:00
Michael Scire
0267a1ad71 Stratosphere: Skeleton framework for auto-hipc manager responses for IpcCommandType != Request 2018-04-19 16:28:19 -06:00
Michael Scire
b843938b1a Stratosphere: Implement ldr:dmnt->GetNsoInfos() 2018-04-19 16:14:48 -06:00
Michael Scire
b2660c661c Stratosphere: Move lr commands to ContentManagement, add Code FS Mounting/Unmounting 2018-04-19 15:28:27 -06:00
Michael Scire
7940981bb8 Stratosphere: Add lz4 library, add GetContentPath primitive to loader. 2018-04-19 07:34:56 -06:00
Michael Scire
5342f7248a Stratosphere: Assume fsldr code is provided by libnx 2018-04-19 07:12:13 -06:00
Michael Scire
d39c3b8efc Stratosphere: Properly overwrite appInit/appExit for libnx in loader 2018-04-19 07:07:43 -06:00
Michael Scire
f0759b0afc Stratosphere: Add libnx fsp-ldr wrapper to Loader 2018-04-19 00:37:01 -06:00
Michael Scire
af11f9fdec Stratosphere: Skeleton ldr:pm (RegisterTitle/UnregisterTitle are implemented) 2018-04-18 23:15:17 -06:00
Michael Scire
30e401d125 Stratosphere: Add Registration Management to Loader 2018-04-18 23:00:10 -06:00
Michael Scire
c5b7f39a67 Add support for receiving X descriptors (works on console) 2018-04-18 21:12:09 -06:00
Michael Scire
7fed8a4428 Stratosphere: Add debugging to loader, it can now be talked to on console successfully. 2018-04-18 16:24:40 -06:00
Michael Scire
8ba3894c3a Stratosphere: Skeleton actual IPC dispatch in ServiceSession 2018-04-18 12:53:04 -06:00
Michael Scire
49719c8a44 Stratosphere: Add missing priority updates 2018-04-18 12:23:06 -06:00
Michael Scire
321286ceab Stratosphere: Fill out Loader main(), fix template classes. 2018-04-18 12:10:45 -06:00
Michael Scire
ee1488a1ed Turns out WaitableManager->delete_waitable() wasn't needed 2018-04-18 11:44:03 -06:00
Michael Scire
cbb0a084a6 Stratosphere: Add IWaitable, WaitableManager 2018-04-18 11:41:17 -06:00
Michael Scire
8e25534912 Stratosphere: Skeleton templated IPC Server code 2018-04-18 08:57:06 -06:00
Michael Scire
5345d7c206 Stratosphere: Skeleton ldr:shel 2018-04-18 03:57:18 -06:00
Michael Scire
b8ad7125ca Stratosphere: Skeleton more of ldr:dmnt->Dispatch() 2018-04-18 03:52:19 -06:00
Michael Scire
c4db563261 Stratosphere: Skeleton ldr:dmnt 2018-04-18 03:30:34 -06:00
Michael Scire
21fa9ff17c Stratosphere: Fix removed add() in Launch Queue 2018-04-17 18:05:19 -06:00
Michael Scire
033cd8df24 Stratosphere: Launch Queue C style lib -> namespace 2018-04-17 18:04:41 -06:00
Michael Scire
c8d1342ddf Stratosphere: Add Launch Queue to Loader
Modified from RE done by @ogniK5377
2018-04-17 17:41:57 -06:00
Michael Scire
864979179a Fix C++ header includes 2018-04-17 17:31:57 -06:00
Michael Scire
79aba08295 Stratosphere: Make dir for loader 2018-04-17 17:26:28 -06:00