Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-07-03 | Use spans over guest memory where possible instead of copying data. | Kelebek1 | 1 | -10/+22 | |
2023-03-24 | memory: rename global memory references to application memory | Liam | 1 | -2/+1 | |
2023-03-13 | kernel: convert KThread to new style | Liam | 1 | -1/+1 | |
2023-03-01 | service: move hle_ipc from kernel | Liam | 1 | -16/+17 | |
2023-02-21 | service: refactor server architecture | Liam | 1 | -24/+6 | |
Converts services to have their own processes | |||||
2023-02-03 | Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span" | ameerj | 1 | -1/+29 | |
This reverts commit 25fc5c0e1158cb8e81cbc769b24ad84032a1fbfd, reversing changes made to af20e25081f97d55b451606c87922e2b49f0d363. | |||||
2023-02-02 | Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer" | liamwhite | 1 | -29/+1 | |
2022-12-29 | hle_ipc: Use thread_local ReadBuffer | ameerj | 1 | -4/+14 | |
2022-12-29 | hle_ipc: Rename ReadBufferSpan to ReadBuffer | ameerj | 1 | -1/+1 | |
2022-12-29 | hle_ipc: Rename ReadBuffer to ReadBufferCopy | ameerj | 1 | -1/+1 | |
Indicates explicitly that a copy is occurring | |||||
2022-12-25 | service: Use ReadBufferSpan where it is trivial to do so | ameerj | 1 | -1/+0 | |
2022-12-25 | hle_ipc: Add ReadBufferSpan function | ameerj | 1 | -0/+19 | |
Returns a std::span to the buffer address, rather than create a copy of the memory into a std::vector | |||||
2022-12-16 | hle_ipc: Refactor ReadBuffer to set buffer size upon initialization | ameerj | 1 | -8/+6 | |
Initializing the vector size during initialization is more efficient than a later call to resize() | |||||
2022-12-16 | hle_ipc: Reserve vectors before populating | ameerj | 1 | -0/+8 | |
2022-11-07 | service_thread: fix deletion | Liam | 1 | -9/+5 | |
2022-10-31 | kernel: invert session request handling flow | Liam | 1 | -33/+22 | |
2022-10-19 | kernel: remove most SessionRequestManager handling from KServerSession | Liam | 1 | -11/+99 | |
2022-07-22 | Project Andio | Kelebek1 | 1 | -2/+36 | |
2022-06-27 | core: Replace all instances of ResultCode with Result | german77 | 1 | -3/+3 | |
2022-04-23 | general: Convert source file copyright comments over to SPDX | Morph | 1 | -3/+2 | |
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later. | |||||
2022-04-08 | hle: kernel: Unify and integrate reference tracking for KServerPort/KServerSession. | bunnei | 1 | -0/+3 | |
- These are not managed elsewhere, and need to be tracked and closed on emulation shutdown. | |||||
2022-04-08 | hle: kernel: hle_ipc: HasSessionRequestHandler: Check if domain handler is expired rather than locking. | bunnei | 1 | -1/+1 | |
2022-04-02 | hle: service: Add option for service interfaces to create or use the default thread. | bunnei | 1 | -2/+9 | |
2022-03-19 | core: Reduce unused includes | ameerj | 1 | -1/+0 | |
2022-03-15 | core: hle: kernel: Remove server session tracking. | bunnei | 1 | -3/+0 | |
- These are now allocated/managed by emulated memory, so we do not need to track and free them on shutdown. | |||||
2022-03-15 | core: hle: kernel: Use weak_ptr where possible for SessionRequestHandler and SessionRequestManager. | bunnei | 1 | -1/+1 | |
2021-11-04 | core: Remove unused includes | ameerj | 1 | -6/+0 | |
2021-10-07 | kernel: hle_ipc: Foward declare KAutoObject | Morph | 1 | -0/+1 | |
2021-07-21 | hle: kernel: Track and release server sessions, and protect methods with locks. | bunnei | 1 | -0/+3 | |
2021-06-10 | hle: kernel: KServerSession: Fix client disconnected. | bunnei | 1 | -2/+2 | |
- Prevents a cloned session's handler from being overwritten by another disconnected session. - Fixes session handler nullptr asserts with Pokemon Sword & Shield. | |||||
2021-06-08 | hle: kernel: hle_ipc: Ensure SessionRequestHandler is valid. | bunnei | 1 | -0/+15 | |
2021-06-07 | hle: kernel: hle_ipc: Use default destructor for SessionRequestManager. | bunnei | 1 | -1/+1 | |
2021-06-05 | hle: kernel: Refactor to allocate a ServiceThread per service handler. | bunnei | 1 | -2/+9 | |
- Previously, we would allocate a thread per session, which adds new threads on CloneCurrentObject. - This results in race conditions with N sessions queuing requests to the same service interface. - Fixes Pokken Tournament DX crashes/softlocks, which were regressed by #6347. | |||||
2021-06-02 | general: Replace RESULT_SUCCESS with ResultSuccess | Morph | 1 | -3/+3 | |
Transition to PascalCase for result names. | |||||
2021-05-21 | hle: kernel: hle_ipc: Simplify incoming/outgoing move/copy/domain objects. | bunnei | 1 | -10/+6 | |
2021-05-21 | hle: kernel: Implement CloneCurrentObject and improve session management. | bunnei | 1 | -16/+4 | |
2021-05-16 | hle_ipc: unsigned -> u32 | Morph | 1 | -7/+7 | |
This is more concise and consistent with the rest of the codebase. | |||||
2021-05-16 | hle_ipc: Add a getter for PID | Morph | 1 | -1/+1 | |
2021-05-11 | hle: kernel: hle_ipc: Fix outgoing IPC response size calculation. | bunnei | 1 | -1/+13 | |
2021-05-11 | hle: kernel: hle_ipc: Improve IPC code and add initial support for TIPC. | bunnei | 1 | -80/+55 | |
- Fixes our move handles implementation to actually move objects. - Simplifies the traditional IPC path. | |||||
2021-05-11 | hle: kernel: Further cleanup and add TIPC helpers. | bunnei | 1 | -1/+1 | |
2021-05-08 | kernel: Eliminate variable shadowing | Lioncash | 1 | -4/+4 | |
Now that the large kernel refactor is merged, we can eliminate the remaining variable shadowing cases. | |||||
2021-05-06 | hle: kernel: Migrate to KHandleTable. | bunnei | 1 | -3/+3 | |
2021-05-06 | hle: kernel: Rename Process to KProcess. | bunnei | 1 | -1/+1 | |
2021-05-06 | hle: kernel: Remove deprecated Object class. | bunnei | 1 | -1/+0 | |
2021-05-06 | hle: kernel: Migrate KPort, KClientPort, and KServerPort to KAutoObject. | bunnei | 1 | -6/+4 | |
2021-05-06 | hle: kernel: HandleTable: Remove deprecated APIs. | bunnei | 1 | -4/+4 | |
2021-05-06 | hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject. | bunnei | 1 | -14/+9 | |
2021-05-06 | hle: kernel: Migrate KSharedMemory to KAutoObject. | bunnei | 1 | -2/+2 | |
2021-05-06 | hle: kernel: Refactor IPC interfaces to not use std::shared_ptr. | bunnei | 1 | -5/+7 | |
2021-05-06 | hle: kernel: Refactor out various KThread std::shared_ptr usage. | bunnei | 1 | -5/+5 | |
2021-04-15 | hle_ipc: Add helper functions to get copy/move handles | Morph | 1 | -2/+6 | |
2021-02-13 | kernel: Unify result codes (#5890) | Chloe | 1 | -1/+1 | |
* kernel: Unify result codes Drop the usage of ERR_NAME convention in kernel for ResultName. Removed seperation between svc_results.h & errors.h as we mainly include both most of the time anyways. * oops * rename errors to svc_results | |||||
2021-02-05 | hle: kernel: Rename WritableEvent to KWritableEvent. | bunnei | 1 | -1/+1 | |
2021-02-05 | hle: kernel: Rename ReadableEvent to KReadableEvent. | bunnei | 1 | -1/+1 | |
2021-01-29 | core: hle: kernel: Rename Thread to KThread. | bunnei | 1 | -3/+3 | |
2021-01-28 | hle_ipc: Add Can(Read, Write)Buffer | Morph | 1 | -0/+22 | |
Allows us to test whether a buffer can be read from or written to memory | |||||
2020-12-29 | hle: kernel: hle_ipc: Remove SleepClientThread. | bunnei | 1 | -37/+0 | |
- This was kind of hacky, and no longer is necessary with service threads. | |||||
2020-12-06 | hle: kernel: Separate KScopedSchedulerLockAndSleep from k_scheduler. | bunnei | 1 | -4/+4 | |
2020-12-06 | hle: kernel: Rewrite scheduler implementation based on Mesopshere. | bunnei | 1 | -1/+1 | |
2020-10-21 | Revert "core: Fix clang build" | bunnei | 1 | -1/+1 | |
2020-10-18 | core: Fix clang build | Lioncash | 1 | -1/+1 | |
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795 | |||||
2020-08-13 | General: Tidy up clang-format warnings part 2 | Lioncash | 1 | -20/+26 | |
2020-06-27 | HLE_IPC: Correct HLE Event behavior on timeout. | Fernando Sahmkow | 1 | -0/+1 | |
2020-06-27 | Core: Correct HLE Event Callbacks and other issues. | Fernando Sahmkow | 1 | -9/+10 | |
2020-06-27 | SVC: Correct SendSyncRequest. | Fernando Sahmkow | 1 | -10/+14 | |
2020-06-24 | Mark invalid IPC buffers as ASSERT_OR_EXECUTE_MSG | David Marcec | 1 | -25/+22 | |
Previously if applications would send faulty buffers(example homebrew) it would lead to us returning uninitalized data. Switching from ASSERT_MSG to ASSERT_OR_EXECUTE_MSG allows us to have a fail safe to prevent crashes but also continue execution without introducing undefined behavior | |||||
2020-05-03 | hle_ipc: Eliminate core memory globals | Lioncash | 1 | -7/+4 | |
We can just pass the required instances into the constructor of the request, eliminating all usages of the global system accessor. | |||||
2020-04-17 | hle_ipc: Remove std::size_t casts where applicable | Lioncash | 1 | -16/+16 | |
These were added in the change that enabled -Wextra on linux builds so as not to introduce interface changes in the same change as a build-system flag addition. Now that the flags are enabled, we can freely change the interface to make these unnecessary. | |||||
2020-04-16 | CMakeLists: Specify -Wextra on linux builds | Lioncash | 1 | -12/+12 | |
Allows reporting more cases where logic errors may exist, such as implicit fallthrough cases, etc. We currently ignore unused parameters, since we currently have many cases where this is intentional (virtual interfaces). While we're at it, we can also tidy up any existing code that causes warnings. This also uncovered a few bugs as well. | |||||
2020-02-11 | Kernel: Change WaitObject to Synchronization object. In order to better reflect RE. | Fernando Sahmkow | 1 | -10/+10 | |
2020-02-06 | hle_ipc: Add error checking to read/write buffer access. | bunnei | 1 | -8/+42 | |
2019-11-28 | kernel: Implement a more accurate IPC dispatch. | bunnei | 1 | -0/+2 | |
2019-11-27 | core/memory: Migrate over Write{8, 16, 32, 64, Block} to the Memory class | Lioncash | 1 | -4/+5 | |
The Write functions are used slightly less than the Read functions, which make these a bit nicer to move over. The only adjustments we really need to make here are to Dynarmic's exclusive monitor instance. We need to keep a reference to the currently active memory instance to perform exclusive read/write operations. | |||||
2019-11-27 | core/memory: Migrate over Read{8, 16, 32, 64, Block} to the Memory class | Lioncash | 1 | -6/+6 | |
With all of the trivial parts of the memory interface moved over, we can get right into moving over the bits that are used. Note that this does require the use of GetInstance from the global system instance to be used within hle_ipc.cpp and the gdbstub. This is fine for the time being, as they both already rely on the global system instance in other functions. These will be removed in a change directed at both of these respectively. For now, it's sufficient, as it still accomplishes the goal of de-globalizing the memory code. | |||||
2019-11-25 | kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154) | bunnei | 1 | -9/+11 | |
* kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. - See https://github.com/citra-emu/citra/pull/4710 for details. | |||||
2019-11-03 | kernel: events: Remove ResetType::Automatic. | bunnei | 1 | -2/+1 | |
- This does not actually seem to exist in the real kernel - games reset these automatically. # Conflicts: # src/core/hle/service/am/applets/applets.cpp # src/core/hle/service/filesystem/fsp_srv.cpp | |||||
2019-05-19 | Address review comment | Tobias | 1 | -1/+1 | |
Co-Authored-By: Mat M. <mathew1800@gmail.com> | |||||
2019-05-18 | core/kernel/object: Rename ResetType enum members | Lioncash | 1 | -1/+1 | |
Renames the members to more accurately indicate what they signify. "OneShot" and "Sticky" are kind of ambiguous identifiers for the reset types, and can be kind of misleading. Automatic and Manual communicate the kind of reset type in a clearer manner. Either the event is automatically reset, or it isn't and must be manually cleared. The "OneShot" and "Sticky" terminology is just a hold-over from Citra where the kernel had a third type of event reset type known as "Pulse". Given the Switch kernel only has two forms of event reset types, we don't need to keep the old terminology around anymore. | |||||
2019-05-18 | HLE/IPC: HLEContext can memorize the client thread and use it for SleepClientThread | Weiyi Wang | 1 | -3/+4 | |
This reduces the boilerplate that services have to write out the current thread explicitly. Using current thread instead of client thread is also semantically incorrect, and will be a problem when we implement multicore (at which time there will be multiple current threads) | |||||
2019-03-08 | kernel/hle_ipc: Convert std::shared_ptr IPC header instances to std::optional | Lioncash | 1 | -8/+6 | |
There's no real need to use a shared lifetime here, since we don't actually expose them to anything else. This is also kind of an unnecessary use of the heap given the objects themselves are so small; small enough, in fact that changing over to optionals actually reduces the overall size of the HLERequestContext struct (818 bytes to 808 bytes). | |||||
2019-03-06 | kernel/server_session: Make data members private | Lioncash | 1 | -4/+4 | |
Makes it much nicer to locally reason about server session behavior, as part of its functionality isn't placed around other classes. | |||||
2019-01-01 | core/kernel: Remove unnecessary inclusions | Lioncash | 1 | -0/+5 | |
Gets rid of a few unnecessary header dependencies in some source files. | |||||
2018-11-29 | hle_ipc: Refactor SleepClientThread to avoid ReadableEvent | Zach Hilman | 1 | -3/+3 | |
2018-11-29 | kernel/event: Reference ReadableEvent from WritableEvent | Zach Hilman | 1 | -2/+4 | |
2018-11-29 | hle_ipc: Use event pair for SleepClientThread | Zach Hilman | 1 | -14/+13 | |
2018-10-20 | kernel/process: Make the handle table per-process | Lioncash | 1 | -13/+12 | |
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. | |||||
2018-10-04 | kernel/thread: Make all instance variables private | Lioncash | 1 | -7/+7 | |
Many of the member variables of the thread class aren't even used outside of the class itself, so there's no need to make those variables public. This change follows in the steps of the previous changes that made other kernel types' members private. The main motivation behind this is that the Thread class will likely change in the future as emulation becomes more accurate, and letting random bits of the emulator access data members of the Thread class directly makes it a pain to shuffle around and/or modify internals. Having all data members public like this also makes it difficult to reason about certain bits of behavior without first verifying what parts of the core actually use them. Everything being public also generally follows the tendency for changes to be introduced in completely different translation units that would otherwise be better introduced as an addition to the Thread class' public interface. | |||||
2018-09-15 | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 1 | -13/+14 | |
2018-08-31 | core/core: Replace includes with forward declarations where applicable | Lioncash | 1 | -0/+1 | |
The follow-up to e2457418dae19b889b2ad85255bb95d4cd0e4bff, which replaces most of the includes in the core header with forward declarations. This makes it so that if any of the headers the core header was previously including change, then no one will need to rebuild the bulk of the core, due to core.h being quite a prevalent inclusion. This should make turnaround for changes much faster for developers. | |||||
2018-08-29 | kernel: Eliminate kernel global state | Lioncash | 1 | -5/+12 | |
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-09 | hle_ipc: Make WriteToOutgoingCommandBuffer()'s reference parameter const | Lioncash | 1 | -1/+1 | |
This function doesn't modify anything within the reference Thread instance. | |||||
2018-08-02 | kernel: Move object class to its own source files | Lioncash | 1 | -1/+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-31 | kernel: Remove unnecessary includes | Lioncash | 1 | -0/+1 | |
Removes unnecessary direct dependencies in some headers and also gets rid of indirect dependencies that were being relied on to be included. | |||||
2018-07-20 | thread: Convert ThreadStatus into an enum class | Lioncash | 1 | -2/+2 | |
Makes the thread status strongly typed, so implicit conversions can't happen. It also makes it easier to catch mistakes at compile time. | |||||
2018-07-19 | hle_ipc: Introduce generic WriteBuffer overload for multiple container types | Lioncash | 1 | -4/+0 | |
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. | |||||
2018-07-19 | hle_ipc: Amend usage of buffer_index within one of HLERequestContext's WriteBuffer() overloads | Lioncash | 1 | -1/+1 | |
Previously, the buffer_index parameter was unused, causing all writes to use the buffer index of zero, which is not necessarily what is wanted all the time. Thankfully, all current usages don't use a buffer index other than zero, so this just prevents a bug before it has a chance to spring. | |||||
2018-07-19 | core/memory, core/hle/kernel: Use std::move where applicable | Lioncash | 1 | -2/+4 | |
Avoids pointless copies | |||||
2018-07-17 | nvflinger: Fix for BufferQueue event handling. | bunnei | 1 | -2/+8 | |
2018-07-14 | No need to use ASSERT_MSG with an empty message | David Marcec | 1 | -2/+2 | |
2018-07-03 | Update clang format | James Rowe | 1 | -1/+1 | |
2018-07-03 | Rename logging macro back to LOG_* | James Rowe | 1 | -3/+3 | |
2018-06-22 | IPC: skip empty buffer write | mailwl | 1 | -0/+5 | |
prevent yuzu crash, if games, like Axiom Verge, trying to read 0 bytes from file | |||||
2018-05-17 | Added RequestWithContext & ControlWithContext | David Marcec | 1 | -1/+3 | |
2018-05-01 | GetSharedFontInOrderOfPriority (#381) | David | 1 | -18/+22 | |
* 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 | |||||
2018-04-26 | kernel: Migrate logging macros to fmt-compatible ones | Lioncash | 1 | -2/+3 | |
2018-04-01 | hle_ipc, fsp_srv: Cleanup logging. | bunnei | 1 | -1/+1 | |
2018-03-31 | hle_ipc: Do not ensure write buffer size. | bunnei | 1 | -2/+5 | |
2018-03-19 | Clean Warnings (?) | N00byKing | 1 | -1/+1 | |
2018-03-19 | hle_ipc: Add SleepClientThread to block current thread within HLE routines. | bunnei | 1 | -0/+27 | |
2018-03-19 | hle_ipc: Use shared_ptr instead of unique_ptr to allow copies. | bunnei | 1 | -4/+4 | |
2018-03-19 | hle_ipc: Remove GetPointer(..) usage with WriteToOutgoingCommandBuffer. | bunnei | 1 | -3/+11 | |
2018-02-20 | Add warning if Domain request has no domain message header | mailwl | 1 | -0/+3 | |
2018-02-20 | Fix: change check for domain order and existance of domain message header | mailwl | 1 | -1/+1 | |
2018-02-20 | IPC: add domain header to response if only it exists in request | mailwl | 1 | -4/+6 | |
2018-02-16 | Service/hid: stub some functions | mailwl | 1 | -0/+51 | |
2018-02-14 | hle_ipc: Remove const from WriteBuffer size. | bunnei | 1 | -1/+1 | |
2018-02-14 | hle_ipc: Add GetReadBufferSize and check write buffer size. | bunnei | 1 | -0/+7 | |
2018-02-14 | hle_ipc: Add helper functions for reading and writing buffers. | bunnei | 1 | -4/+2 | |
2018-02-14 | hle_ipc: Add helper functions for reading and writing buffers. | bunnei | 1 | -0/+39 | |
2018-01-25 | hle: Integrate Domain handling into ServerSession. | bunnei | 1 | -7/+3 | |
2018-01-25 | hle: Remove Domain and SyncObject kernel objects. | bunnei | 1 | -1/+0 | |
2018-01-21 | Format: Run the new clang format on everything | James Rowe | 1 | -3/+2 | |
2018-01-20 | Fixes some cast warnings, partial port of citra #3064 (#106) | River City Ransomware | 1 | -1/+1 | |
* Fixes some cast warnings, partially fixes citra #3064 * Converted casts to uint32_t to u32 * Ran clang-format | |||||
2018-01-18 | Stub PopLaunchParameter and implement Buffer C Descriptors reading on hle_ipc (#96) | gdkchan | 1 | -7/+27 | |
* 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 | hle_ipc: Clang format. | bunnei | 1 | -2/+3 | |
2018-01-17 | ipc: Implement domain command CloseVirtualHandle. | bunnei | 1 | -1/+8 | |
2018-01-13 | yuzu: Update license text to be consistent across project. | bunnei | 1 | -1/+1 | |
2018-01-11 | IPC: Corrected some definitions for the buffer C descriptor flags. | Subv | 1 | -1/+4 | |
2018-01-07 | IPC: Add functions to read the input move/copy objects from an IPC request. | Subv | 1 | -2/+14 | |
2018-01-07 | IPC: Don't attempt to read the command buffer if it holds a Close request. | Subv | 1 | -0/+5 | |
2018-01-07 | IPC Cleanup: Remove 3DS-specific code and translate copy, move and domain objects in IPC requests. | Subv | 1 | -52/+55 | |
Popping objects from the buffer is still not implemented. | |||||
2018-01-07 | IPC: Skip the entire u64 of the command id when receiving an IPC request. | Subv | 1 | -1/+2 | |
Service code now doesn't have to deal with this. | |||||
2018-01-07 | IPC: Use the correct size when pushing raw data to the command buffer and fixed pushing domain objects. | Subv | 1 | -1/+1 | |
Domain object ids are always stored immediately after the raw data. | |||||
2017-12-29 | kernel: Fix implementation of ConvertSessionToDomain. | bunnei | 1 | -13/+17 | |
2017-10-19 | hle_ipc: Only copy necessary fields for outgoing command buffer. | bunnei | 1 | -1/+1 | |
2017-10-19 | hle_ipc: Parse out buffer X/A/B/B descriptors from incoming command buffer. | bunnei | 1 | -14/+11 | |
2017-10-15 | hle: Implement ConvertSessionToDomain, various cleanups. | bunnei | 1 | -4/+19 | |
2017-10-15 | hle: Initial implementation of NX service framework and IPC. | bunnei | 1 | -68/+84 | |
2017-09-30 | Fixed type conversion ambiguity | Huw Pascoe | 1 | -1/+1 | |
2017-06-21 | Kernel/IPC: Support translation of null handles | Yuri Kunde Schlesner | 1 | -7/+12 | |
Missed this in my first implementation. Thanks to @wwylele for pointing out that this was missing. | |||||
2017-06-19 | Kernel/IPC: Make HLERequestContext usable from outside kernel | Yuri Kunde Schlesner | 1 | -0/+5 | |
2017-06-11 | Kernel: Allow clearing request_objects to re-use buffer space | Yuri Kunde Schlesner | 1 | -0/+4 | |
Reduces the necessary allocation to max(in_handles, out_handles) rather than (in_handles + out_handles). | |||||
2017-06-11 | Kernel: Basic support for IPC translation for HLE services | Yuri Kunde Schlesner | 1 | -4/+90 | |
2017-06-11 | Kernel: Add methods in HLERequestContext abstracting handle creation | Yuri Kunde Schlesner | 1 | -0/+9 | |
2017-06-08 | Service: Add new ServiceFramework framework for writing HLE services | Yuri Kunde Schlesner | 1 | -0/+2 | |
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. | |||||
2017-06-06 | Kernel: Add a dedicated SetHleHandler method to ServerPort/ServerSession | Yuri Kunde Schlesner | 1 | -0/+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. | |||||
2017-06-06 | HLE: Move SessionRequestHandler from Service:: to Kernel:: | Yuri Kunde Schlesner | 1 | -0/+22 | |
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. |