- Mar 10, 2019
-
-
Lioncash authored
Relocates the error code to where it's most related, similar to how all the other error codes are. Previously we were including a non-generic error in the main result code header.
-
- Feb 16, 2019
-
-
Lioncash authored
Gets rid of the largest set of mutable global state within the core. This also paves a way for eliminating usages of GetInstance() on the System class as a follow-up. Note that no behavioral changes have been made, and this simply extracts the functionality into a class. This also has the benefit of making dependencies on the core timing functionality explicit within the relevant interfaces.
-
- Dec 13, 2018
-
-
Jens Schmer authored
Services created with the ServiceFramework base class install themselves as HleHandlers with an owning shared_ptr in the ServerPort ServiceFrameworkBase::port member variable, creating a cyclic ownership between ServiceFrameworkBase and the ServerPort, preventing deletion of the service objects. Fix that by removing the ServiceFrameworkBase::port member because that was only used to detect multiple attempts at installing a port. Instead store a flag if the port was already installed to achieve the same functionality.
-
- Dec 06, 2018
-
-
Lioncash authored
Combines the two into one, shortening the amount of code here.
-
Lioncash authored
Only one usage of the specified objects made use of the lack of namespacing. Given the low usage, we can just remove these.
-
Lioncash authored
These auto-deduce the result based off its arguments, so there's no need to do that work for the compiler, plus, the function return value itself already indicates what we're returning.
-
Lioncash authored
Gets rid of the need to keep the variables separate from their actual initialization spots.
-
- Nov 14, 2018
-
-
Lioncash authored
When yuzu is compiled in release mode this function is unused, however, when compiled in debug mode, it's used within a LOG_TRACE statement. This prevents erroneous compilation warnings about an unused function (that isn't actually totally unused).
-
- Oct 21, 2018
-
-
Lioncash authored
-
- Oct 20, 2018
-
-
Zach Hilman authored
Seems to be the power controller. Listed in switchbrew under the category PTM services.
-
- Oct 13, 2018
-
-
Lioncash authored
filesystem: Make CreateFactories() and InstallInterface() take a VfsFilesystem instance by reference Neither of these functions alter the ownership of the provided pointer, so we can simply make the parameters a reference rather than a direct shared pointer alias. This way we also disallow passing incorrect memory values like nullptr.
-
- Sep 15, 2018
-
-
fearlessTobi authored
-
- Sep 13, 2018
-
-
Lioncash authored
-
- Sep 10, 2018
-
-
Lioncash authored
With the named port functionality all migrated over to the kernel, there's no need to keep this around anymore.
-
- Sep 02, 2018
-
-
Lioncash authored
Now that we have a class representing the kernel in some capacity, we now have a place to put the named port map, so we move it over and get rid of another piece of global state within the core.
-
- 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.
-
- Aug 09, 2018
-
-
Zach Hilman authored
-
- Aug 08, 2018
-
-
Lioncash authored
Rather than use global state, we can simply pass the instance into the NVFlinger instance directly.
-
- Aug 07, 2018
-
-
Lioncash authored
Adds basic skeleton for the usb services based off the information provided by Switch Brew.
-
- Aug 04, 2018
-
-
Lioncash authored
Adds the basic skeleton of the arp services based off the information provided by Switch Brew.
-
- Aug 02, 2018
- Aug 01, 2018
- Jul 31, 2018
- Jul 29, 2018
- Jul 27, 2018
-
-
Lioncash authored
Adds the basic skeleton for the ncm services based off information on Switch Brew.
-
Lioncash authored
Adds the skeleton for the mii services based off information provided by Switch Brew
-
Lioncash authored
Adds the skeleton of the nfc service based off the information provided on Switch Brew.
-
Lioncash authored
Adds the skeleton of the lbl service based off the information provided by Switch Brew.
-
- Jul 26, 2018
-
-
Lioncash authored
Adds the skeleton for the btdrv service based off the information provided by Switch Brew
-
Lioncash authored
Adds the basic skeleton for the grc:c service based off the information provided by Switch Brew.
-
Lioncash authored
Adds the skeleton for the nim services based off information from Switch Brew.
-
Lioncash authored
Adds ldn services based off information provided by Switch Brew.
-
Lioncash authored
Adds the skeleton for the ldr-related services based off the information provided on Switch Brew.
-
Lioncash authored
Adds the skeleton for the eupld services based off information on Switch Brew.
-
Lioncash authored
Adds the basic skeleton of the erpt service based off information on Switch Brew.
-
- Jul 25, 2018
-
-
Lioncash authored
Adds the skeleton for the process management services based off information on Switch Brew.
-