Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core/kernel: Remove unnecessary inclusions | Lioncash | 2019-01-01 | 1 | -3/+6 |
| | | | | Gets rid of a few unnecessary header dependencies in some source files. | ||||
* | hle_ipc: Refactor SleepClientThread to avoid ReadableEvent | Zach Hilman | 2018-11-29 | 1 | -3/+1 |
| | |||||
* | hle_ipc: Use event pair for SleepClientThread | Zach Hilman | 2018-11-29 | 1 | -5/+9 |
| | |||||
* | hle_ipc: Add member function for querying the existence of a domain header | Lioncash | 2018-10-30 | 1 | -0/+4 |
| | | | | Gets rid of the need to call the getter and then check for null. | ||||
* | hle_ipc: Make GetDomainMessageHeader return a regular pointer | Lioncash | 2018-10-30 | 1 | -2/+2 |
| | | | | | Nothing requires the shared owner ship here, so we can just return a plain pointer. | ||||
* | kernel/process: Make the handle table per-process | Lioncash | 2018-10-20 | 1 | -6/+7 |
| | | | | | | | | In the kernel, there isn't a singular handle table that everything gets tossed into or used, rather, each process gets its own handle table that it uses. This currently isn't an issue for us, since we only execute one process at the moment, but we may as well get this out of the way so it's not a headache later on. | ||||
* | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 2018-09-15 | 1 | -10/+10 |
| | |||||
* | hle_ipc: Make WriteToOutgoingCommandBuffer()'s reference parameter const | Lioncash | 2018-08-09 | 1 | -1/+1 |
| | | | | | This function doesn't modify anything within the reference Thread instance. | ||||
* | kernel: Move object class to its own source files | Lioncash | 2018-08-02 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | kernel: Remove unnecessary includes | Lioncash | 2018-07-31 | 1 | -1/+0 |
| | | | | | Removes unnecessary direct dependencies in some headers and also gets rid of indirect dependencies that were being relied on to be included. | ||||
* | hle_ipc: Make constructors explicit where applicable | Lioncash | 2018-07-24 | 1 | -1/+1 |
| | |||||
* | hle_ipc: Introduce generic WriteBuffer overload for multiple container types | Lioncash | 2018-07-19 | 1 | -2/+21 |
| | | | | | | | | | | | | | | | This introduces a slightly more generic variant of WriteBuffer(). Notably, this variant doesn't constrain the arguments to only accepting std::vector instances. It accepts whatever adheres to the ContiguousContainer concept in the C++ standard library. This essentially means, std::array, std::string, and std::vector can be used directly with this interface. The interface no longer forces you to solely use containers that dynamically allocate. To ensure our overloads play nice with one another, we only enable the container-based WriteBuffer if the argument is not a pointer, otherwise we fall back to the pointer-based one. | ||||
* | core/memory, core/hle/kernel: Use std::move where applicable | Lioncash | 2018-07-19 | 1 | -2/+2 |
| | | | | Avoids pointless copies | ||||
* | nvflinger: Fix for BufferQueue event handling. | bunnei | 2018-07-17 | 1 | -1/+3 |
| | |||||
* | ipc: Add support for PopIpcInterface() method. | bunnei | 2018-05-02 | 1 | -0/+12 |
| | | | | - This can be used for domain objects as inputs to service functions. | ||||
* | GetSharedFontInOrderOfPriority (#381) | David | 2018-05-01 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | * GetSharedFontInOrderOfPriority * Update pl_u.cpp * Ability to use ReadBuffer and WriteBuffer with different buffer indexes, fixed up GetSharedFontInOrderOfPriority * switched to NGLOG * Update pl_u.cpp * Update pl_u.cpp * language_code is actually language code and not index * u32->u64 * final cleanups | ||||
* | hle_ipc: Add SleepClientThread to block current thread within HLE routines. | bunnei | 2018-03-19 | 1 | -0/+20 |
| | |||||
* | hle_ipc: Use shared_ptr instead of unique_ptr to allow copies. | bunnei | 2018-03-19 | 1 | -5/+5 |
| | |||||
* | hle_ipc: Remove GetPointer(..) usage with WriteToOutgoingCommandBuffer. | bunnei | 2018-03-19 | 1 | -2/+2 |
| | |||||
* | Service/hid: stub some functions | mailwl | 2018-02-16 | 1 | -0/+2 |
| | |||||
* | hle_ipc: Remove const from WriteBuffer size. | bunnei | 2018-02-14 | 1 | -1/+1 |
| | |||||
* | hle_ipc: Add GetReadBufferSize and check write buffer size. | bunnei | 2018-02-14 | 1 | -0/+3 |
| | |||||
* | hle_ipc: Add helper functions for reading and writing buffers. | bunnei | 2018-02-14 | 1 | -0/+12 |
| | |||||
* | ipc_helpers: Make interface domain agnostic and add header validation. | bunnei | 2018-01-25 | 1 | -1/+12 |
| | |||||
* | hle: Integrate Domain handling into ServerSession. | bunnei | 2018-01-25 | 1 | -14/+2 |
| | |||||
* | Stub PopLaunchParameter and implement Buffer C Descriptors reading on hle_ipc (#96) | gdkchan | 2018-01-18 | 1 | -0/+6 |
| | | | | | | | | | | * Stub PopLaunchParameter and implement Buffer C Descriptors reading * Address PR feedback * Ensure we push a u64 not a size_t * Fix formatting | ||||
* | IPC: Push domain objects as move handles when not in a domain. | Subv | 2018-01-17 | 1 | -0/+8 |
| | |||||
* | clang-format | MerryMage | 2018-01-16 | 1 | -2/+2 |
| | |||||
* | yuzu: Update license text to be consistent across project. | bunnei | 2018-01-13 | 1 | -1/+1 |
| | |||||
* | core: Fix recent GCC build breaks. | bunnei | 2018-01-12 | 1 | -2/+2 |
| | |||||
* | IPC: Corrected some definitions for the buffer C descriptor flags. | Subv | 2018-01-11 | 1 | -0/+4 |
| | |||||
* | IPC: Add functions to read the input move/copy objects from an IPC request. | Subv | 2018-01-07 | 1 | -0/+12 |
| | |||||
* | IPC Cleanup: Remove 3DS-specific code and translate copy, move and domain objects in IPC requests. | Subv | 2018-01-07 | 1 | -22/+17 |
| | | | | Popping objects from the buffer is still not implemented. | ||||
* | IPC: Use the correct size when pushing raw data to the command buffer and fixed pushing domain objects. | Subv | 2018-01-07 | 1 | -2/+6 |
| | | | | Domain object ids are always stored immediately after the raw data. | ||||
* | kernel: Fix implementation of ConvertSessionToDomain. | bunnei | 2017-12-29 | 1 | -5/+24 |
| | |||||
* | service: Return proper result code for IPC::CommandType::Close. | bunnei | 2017-11-01 | 1 | -1/+1 |
| | |||||
* | hle_ipc: Parse out buffer X/A/B/B descriptors from incoming command buffer. | bunnei | 2017-10-19 | 1 | -0/+8 |
| | |||||
* | hle: Implement ConvertSessionToDomain, various cleanups. | bunnei | 2017-10-15 | 1 | -1/+2 |
| | |||||
* | hle: Initial implementation of NX service framework and IPC. | bunnei | 2017-10-15 | 1 | -2/+23 |
| | |||||
* | Kernel/IPC: Make HLERequestContext usable from outside kernel | Yuri Kunde Schlesner | 2017-06-19 | 1 | -3/+4 |
| | |||||
* | Kernel/IPC: Use boost::small_vector for HLE context objects | Yuri Kunde Schlesner | 2017-06-12 | 1 | -1/+3 |
| | |||||
* | Kernel: Allow clearing request_objects to re-use buffer space | Yuri Kunde Schlesner | 2017-06-11 | 1 | -0/+7 |
| | | | | | Reduces the necessary allocation to max(in_handles, out_handles) rather than (in_handles + out_handles). | ||||
* | Kernel: Basic support for IPC translation for HLE services | Yuri Kunde Schlesner | 2017-06-11 | 1 | -2/+35 |
| | |||||
* | Kernel: Add methods in HLERequestContext abstracting handle creation | Yuri Kunde Schlesner | 2017-06-11 | 1 | -0/+3 |
| | |||||
* | ServiceFramework: Use separate copy of command buffer | Yuri Kunde Schlesner | 2017-06-11 | 1 | -3/+6 |
| | | | | | | Copy the IPC command buffer to/from the request context before/after the handler is invoked. This is part of a move away from using global data for handling IPC requests. | ||||
* | Service: Add new ServiceFramework framework for writing HLE services | Yuri Kunde Schlesner | 2017-06-08 | 1 | -2/+34 |
| | | | | | | | | | | | | The old "Interface" class had a few problems such as using free functions (Which didn't allow you to write the service handler as if it were a regular class.) which weren't very extensible. (Only received one parameter with a pointer to the Interface object.) The new ServiceFramework aims to solve these problems by working with member functions and passing a generic context struct as parameter. This struct can be extended in the future without having to update all existing service implementations. | ||||
* | Kernel: Remove some unnecessary namespace qualifications | Yuri Kunde Schlesner | 2017-06-06 | 1 | -4/+6 |
| | |||||
* | Kernel: Add a dedicated SetHleHandler method to ServerPort/ServerSession | Yuri Kunde Schlesner | 2017-06-06 | 1 | -1/+2 |
| | | | | | | This allows attaching a HLE handle to a ServerPort at any point after it is created, allowing port/session creation to be generic between HLE and regular services. | ||||
* | HLE: Move SessionRequestHandler from Service:: to Kernel:: | Yuri Kunde Schlesner | 2017-06-06 | 1 | -0/+52 |
Most of the code that works with this is or will be in the kernel, so it's a more appropriate place for it to be. |