- Sep 06, 2018
-
-
Lioncash authored
The only reason this include was necessary, was because the constructor wasn't defaulted in the cpp file and the compiler would inline it wherever it was used. However, given Controller is forward declared, all those inlined constructors would see an incomplete type, causing a compilation failure. So, we just place the constructor in the cpp file, where it can see the complete type definition, allowing us to remove this include.
-
- Aug 29, 2018
-
-
Lioncash authored
As means to pave the way for getting rid of global state within core, This eliminates kernel global state by removing all globals. Instead this introduces a KernelCore class which acts as a kernel instance. This instance lives in the System class, which keeps its lifetime contained to the lifetime of the System class. This also forces the kernel types to actually interact with the main kernel instance itself instead of having transient kernel state placed all over several translation units, keeping everything together. It also has a nice consequence of making dependencies much more explicit. This also makes our initialization a tad bit more correct. Previously we were creating a kernel process before the actual kernel was initialized, which doesn't really make much sense. The KernelCore class itself follows the PImpl idiom, which allows keeping all the implementation details sealed away from everything else, which forces the use of the exposed API and allows us to avoid any unnecessary inclusions within the main kernel header.
-
- Jul 03, 2018
-
-
James Rowe authored
-
James Rowe authored
-
- May 02, 2018
-
-
Lioncash authored
This makes the formatting expectations more obvious (e.g. any zero padding specified is padding that's entirely dedicated to the value being printed, not any pretty-printing that also gets tacked on).
-
- Apr 24, 2018
-
-
Lioncash authored
-
- Apr 20, 2018
- Feb 05, 2018
-
-
David Marcec authored
-
- Jan 25, 2018
- Jan 20, 2018
-
-
David authored
* Added svcCreateSharedMemory * Services which are not implemented now throw UNIMPLEMENTED() * clang-format * changed perms to u32 * removed camelcase
-
- Jan 13, 2018
-
-
bunnei authored
-
- Jan 07, 2018
- Dec 28, 2017
-
-
bunnei authored
-
- Oct 15, 2017
- Sep 24, 2017
-
-
Subv authored
Now system modules can do more than just crash immediately on startup.
-
- Jun 09, 2017
-
-
Yuri Kunde Schlesner authored
-
- Jun 06, 2017
-
-
Yuri Kunde Schlesner authored
This has a huge fallout in terms of needing to fix other files because all service implementations included that file.
-
Yuri Kunde Schlesner authored
Also enhances the GetServiceHandle implementation to be more accurate.
-