Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-08-29 | kernel: Eliminate kernel global state | Lioncash | 1 | -1/+4 | |
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. | |||||
2018-08-02 | kernel: Move object class to its own source files | Lioncash | 1 | -2/+5 | |
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. | |||||
2018-07-24 | ipc_helper: Add helper member function for popping enum values to RequestParser | Lioncash | 1 | -0/+8 | |
2018-07-24 | hle_ipc: Make constructors explicit where applicable | Lioncash | 1 | -11/+12 | |
2018-07-24 | ipc_helpers: Make member variables of ResponseBuilder private | Lioncash | 1 | -5/+6 | |
These aren't used externally at all, so they can be made private. | |||||
2018-07-20 | ipc_helpers: Add PushEnum() member function to ResponseBuilder | Lioncash | 1 | -0/+19 | |
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. | |||||
2018-05-02 | ipc: Add support for PopIpcInterface() method. | bunnei | 1 | -0/+7 | |
- This can be used for domain objects as inputs to service functions. | |||||
2018-02-20 | Fix: change check for domain order and existance of domain message header | mailwl | 1 | -1/+2 | |
2018-02-20 | IPC: add domain header to response if only it exists in request | mailwl | 1 | -1/+1 | |
2018-01-25 | ResponseBuilder: Use a bit field for customizing instead of always_move_handles. | bunnei | 1 | -9/+18 | |
2018-01-25 | hle: Rename RequestBuilder to ResponseBuilder. | bunnei | 1 | -20/+21 | |
2018-01-25 | ipc_helpers: Make interface domain agnostic and add header validation. | bunnei | 1 | -24/+46 | |
2018-01-25 | hle: Integrate Domain handling into ServerSession. | bunnei | 1 | -3/+3 | |
2018-01-25 | hle: Remove Domain and SyncObject kernel objects. | bunnei | 1 | -1/+0 | |
2018-01-22 | IPC: Don't create an unnecessary port when using PushIpcInterface outside of a domain. | Subv | 1 | -4/+5 | |
2018-01-21 | fsp_srv: Various improvements to IStorage:Read implementation. | bunnei | 1 | -0/+5 | |
2018-01-18 | Stub PopLaunchParameter and implement Buffer C Descriptors reading on hle_ipc (#96) | gdkchan | 1 | -0/+4 | |
* Stub PopLaunchParameter and implement Buffer C Descriptors reading * Address PR feedback * Ensure we push a u64 not a size_t * Fix formatting | |||||
2018-01-17 | IPC: Push domain objects as move handles when not in a domain. | Subv | 1 | -2/+20 | |
2018-01-11 | IPC: Allow passing arguments to the Interfaces when using PushIpcInterface | Subv | 1 | -3/+3 | |
2018-01-07 | IPC: Take the number of domain objects as a parameter in MakeBuilder. | Subv | 1 | -2/+4 | |
2018-01-07 | IPC: Fixed pushing ResultCodes into the command buffer. | Subv | 1 | -5/+7 | |
They should have 32 bits of padding after the error code now. | |||||
2018-01-07 | IPC: Add functions to read the input move/copy objects from an IPC request. | Subv | 1 | -0/+16 | |
2018-01-07 | IPC Cleanup: Remove 3DS-specific code and translate copy, move and domain objects in IPC requests. | Subv | 1 | -215/+25 | |
Popping objects from the buffer is still not implemented. | |||||
2018-01-07 | IPC: Use the correct size when pushing raw data to the command buffer and fixed pushing domain objects. | Subv | 1 | -5/+14 | |
Domain object ids are always stored immediately after the raw data. | |||||
2017-12-29 | kernel: Fix implementation of ConvertSessionToDomain. | bunnei | 1 | -0/+14 | |
2017-10-18 | ipc_helpers: Fix alignment (was wrong as a result of a dynarmic bug). | bunnei | 1 | -3/+4 | |
2017-10-15 | hle: Implement ConvertSessionToDomain, various cleanups. | bunnei | 1 | -1/+1 | |
2017-10-15 | hle: Initial implementation of NX service framework and IPC. | bunnei | 1 | -71/+51 | |
2017-09-30 | Fixed type conversion ambiguity | Huw Pascoe | 1 | -6/+6 | |
2017-06-11 | Kernel: Allow clearing request_objects to re-use buffer space | Yuri Kunde Schlesner | 1 | -0/+3 | |
Reduces the necessary allocation to max(in_handles, out_handles) rather than (in_handles + out_handles). | |||||
2017-06-11 | IPC: Add Pop/PushObjects methods to RequestParser/Builder | Yuri Kunde Schlesner | 1 | -10/+103 | |
These use the context functions to create and look-up handles for the user. | |||||
2017-06-11 | IPC: Add basic HLERequestContext support to RequestParser/Builder | Yuri Kunde Schlesner | 1 | -1/+32 | |
2017-05-30 | Kernel: Move HandleTable to a separate file | Yuri Kunde Schlesner | 1 | -0/+2 | |
2017-03-18 | IPCHelper Skip method + address comments for apt | Lectem | 1 | -1/+7 | |
2017-03-18 | fix #2560 and other comments | Lectem | 1 | -2/+2 | |
2017-03-18 | move push out of class body and add u8 u16 bool specializations | Lectem | 1 | -46/+106 | |
2017-03-18 | refactor APT service to use the new IPC helpers | Lectem | 1 | -0/+12 | |
2017-02-05 | fix wwylele's comment and use typename in templates | Lectem | 1 | -4/+4 | |
2016-12-26 | move Pop methods out of class body | Lectem | 1 | -72/+88 | |
2016-12-26 | IPC helpers | Lectem | 1 | -0/+259 | |