- Feb 26, 2019
-
-
Lioncash authored
There's no real reason this shouldn't be allowed, given some values sent via a request can be signed. This also makes it less annoying to work with popping enum values, given an enum class with no type specifier will work out of the box now. It's also kind of an oversight to allow popping s64 values, but nothing else.
-
- Jan 30, 2019
-
-
Lioncash authored
-
- Jan 29, 2019
-
-
Lioncash authored
This is kind of a large hole in the API, given we allow popping signed values. This fixes that.
-
- Jan 01, 2019
-
-
Lioncash authored
Gets rid of a few unnecessary header dependencies in some source files.
-
- Oct 30, 2018
-
-
Lioncash authored
Gets rid of the need to call the getter and then check for null.
-
- Sep 19, 2018
-
-
David Marcec authored
-
- Sep 15, 2018
-
-
fearlessTobi authored
-
- 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 02, 2018
-
-
Lioncash authored
General moving to keep kernel object types separate from the direct kernel code. Also essentially a preliminary cleanup before eliminating global kernel state in the kernel code.
-
- Jul 24, 2018
- Jul 20, 2018
-
-
Lioncash authored
Allows pushing strongly-typed enum members without the need to always cast them at the call sites. Note that we *only* allow strongly-typed enums in this case. The reason for this is that strongly typed enums have a guaranteed defined size, so the size of the data being pushed is always deterministic. With regular enums this can be a little more error-prone, so we disallow them. This function simply uses the underlying type of the enum to determine the size of the data. For example, if an enum is defined as: enum class SomeEnum : u16 { SomeEntry }; if PushEnum(SomeEnum::SomeEntry); is called, then it will push a u16-size amount of data.
-
- May 02, 2018
-
-
bunnei authored
- This can be used for domain objects as inputs to service functions.
-
- Feb 20, 2018
- Jan 25, 2018
- Jan 22, 2018
-
-
Subv authored
-
- Jan 21, 2018
-
-
bunnei authored
-
- Jan 18, 2018
-
-
gdkchan authored
* Stub PopLaunchParameter and implement Buffer C Descriptors reading * Address PR feedback * Ensure we push a u64 not a size_t * Fix formatting
-
- Jan 16, 2018
-
-
Subv authored
-
- Jan 11, 2018
-
-
Subv authored
-
- Jan 07, 2018
-
-
Subv authored
-
Subv authored
They should have 32 bits of padding after the error code now.
-
Subv authored
-
Subv authored
Popping objects from the buffer is still not implemented.
-
Subv authored
IPC: Use the correct size when pushing raw data to the command buffer and fixed pushing domain objects. Domain object ids are always stored immediately after the raw data.
-
- Dec 29, 2017
-
-
bunnei authored
-
- Oct 17, 2017
-
-
bunnei authored
-
- Oct 15, 2017
- Sep 30, 2017
-
-
Huw Pascoe authored
-
- Jun 11, 2017
-
-
Yuri Kunde Schlesner authored
Reduces the necessary allocation to max(in_handles, out_handles) rather than (in_handles + out_handles).
-
Yuri Kunde Schlesner authored
These use the context functions to create and look-up handles for the user.
-
Yuri Kunde Schlesner authored
-
- May 30, 2017
-
-
Yuri Kunde Schlesner authored
-