summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/hle_ipc.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* kernel: Move object class to its own source filesLioncash2018-08-021-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.
* kernel: Remove unnecessary includesLioncash2018-07-311-0/+1
| | | | | Removes unnecessary direct dependencies in some headers and also gets rid of indirect dependencies that were being relied on to be included.
* thread: Convert ThreadStatus into an enum classLioncash2018-07-201-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.
* hle_ipc: Introduce generic WriteBuffer overload for multiple container typesLioncash2018-07-191-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.
* hle_ipc: Amend usage of buffer_index within one of HLERequestContext's WriteBuffer() overloadsLioncash2018-07-191-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.
* core/memory, core/hle/kernel: Use std::move where applicableLioncash2018-07-191-2/+4
| | | | Avoids pointless copies
* nvflinger: Fix for BufferQueue event handling.bunnei2018-07-171-2/+8
|
* No need to use ASSERT_MSG with an empty messageDavid Marcec2018-07-141-2/+2
|
* Update clang formatJames Rowe2018-07-031-1/+1
|
* Rename logging macro back to LOG_*James Rowe2018-07-031-3/+3
|
* IPC: skip empty buffer writemailwl2018-06-221-0/+5
| | | | prevent yuzu crash, if games, like Axiom Verge, trying to read 0 bytes from file
* Added RequestWithContext & ControlWithContextDavid Marcec2018-05-171-1/+3
|
* GetSharedFontInOrderOfPriority (#381)David2018-05-011-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
* kernel: Migrate logging macros to fmt-compatible onesLioncash2018-04-261-2/+3
|
* hle_ipc, fsp_srv: Cleanup logging.bunnei2018-04-011-1/+1
|
* hle_ipc: Do not ensure write buffer size.bunnei2018-03-311-2/+5
|
* Clean Warnings (?)N00byKing2018-03-191-1/+1
|
* hle_ipc: Add SleepClientThread to block current thread within HLE routines.bunnei2018-03-191-0/+27
|
* hle_ipc: Use shared_ptr instead of unique_ptr to allow copies.bunnei2018-03-191-4/+4
|
* hle_ipc: Remove GetPointer(..) usage with WriteToOutgoingCommandBuffer.bunnei2018-03-191-3/+11
|
* Add warning if Domain request has no domain message headermailwl2018-02-201-0/+3
|
* Fix: change check for domain order and existance of domain message headermailwl2018-02-201-1/+1
|
* IPC: add domain header to response if only it exists in requestmailwl2018-02-201-4/+6
|
* Service/hid: stub some functionsmailwl2018-02-161-0/+51
|
* hle_ipc: Remove const from WriteBuffer size.bunnei2018-02-141-1/+1
|
* hle_ipc: Add GetReadBufferSize and check write buffer size.bunnei2018-02-141-0/+7
|
* hle_ipc: Add helper functions for reading and writing buffers.bunnei2018-02-141-4/+2
|
* hle_ipc: Add helper functions for reading and writing buffers.bunnei2018-02-141-0/+39
|
* hle: Integrate Domain handling into ServerSession.bunnei2018-01-251-7/+3
|
* hle: Remove Domain and SyncObject kernel objects.bunnei2018-01-251-1/+0
|
* Format: Run the new clang format on everythingJames Rowe2018-01-211-3/+2
|
* Fixes some cast warnings, partial port of citra #3064 (#106)River City Ransomware2018-01-201-1/+1
| | | | | | | | * Fixes some cast warnings, partially fixes citra #3064 * Converted casts to uint32_t to u32 * Ran clang-format
* Stub PopLaunchParameter and implement Buffer C Descriptors reading on hle_ipc (#96)gdkchan2018-01-181-7/+27
| | | | | | | | | | * Stub PopLaunchParameter and implement Buffer C Descriptors reading * Address PR feedback * Ensure we push a u64 not a size_t * Fix formatting
* hle_ipc: Clang format.bunnei2018-01-171-2/+3
|
* ipc: Implement domain command CloseVirtualHandle.bunnei2018-01-171-1/+8
|
* yuzu: Update license text to be consistent across project.bunnei2018-01-131-1/+1
|
* IPC: Corrected some definitions for the buffer C descriptor flags.Subv2018-01-111-1/+4
|
* IPC: Add functions to read the input move/copy objects from an IPC request.Subv2018-01-071-2/+14
|
* IPC: Don't attempt to read the command buffer if it holds a Close request.Subv2018-01-071-0/+5
|
* IPC Cleanup: Remove 3DS-specific code and translate copy, move and domain objects in IPC requests.Subv2018-01-071-52/+55
| | | | Popping objects from the buffer is still not implemented.
* IPC: Skip the entire u64 of the command id when receiving an IPC request.Subv2018-01-071-1/+2
| | | | Service code now doesn't have to deal with this.
* IPC: Use the correct size when pushing raw data to the command buffer and fixed pushing domain objects.Subv2018-01-071-1/+1
| | | | Domain object ids are always stored immediately after the raw data.
* kernel: Fix implementation of ConvertSessionToDomain.bunnei2017-12-291-13/+17
|
* hle_ipc: Only copy necessary fields for outgoing command buffer.bunnei2017-10-191-1/+1
|
* hle_ipc: Parse out buffer X/A/B/B descriptors from incoming command buffer.bunnei2017-10-191-14/+11
|
* hle: Implement ConvertSessionToDomain, various cleanups.bunnei2017-10-151-4/+19
|
* hle: Initial implementation of NX service framework and IPC.bunnei2017-10-151-68/+84
|
* Fixed type conversion ambiguityHuw Pascoe2017-09-301-1/+1
|
* Kernel/IPC: Support translation of null handlesYuri Kunde Schlesner2017-06-211-7/+12
| | | | | Missed this in my first implementation. Thanks to @wwylele for pointing out that this was missing.
* Kernel/IPC: Make HLERequestContext usable from outside kernelYuri Kunde Schlesner2017-06-191-0/+5
|
* Kernel: Allow clearing request_objects to re-use buffer spaceYuri Kunde Schlesner2017-06-111-0/+4
| | | | | Reduces the necessary allocation to max(in_handles, out_handles) rather than (in_handles + out_handles).
* Kernel: Basic support for IPC translation for HLE servicesYuri Kunde Schlesner2017-06-111-4/+90
|
* Kernel: Add methods in HLERequestContext abstracting handle creationYuri Kunde Schlesner2017-06-111-0/+9
|
* Service: Add new ServiceFramework framework for writing HLE servicesYuri Kunde Schlesner2017-06-081-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.
* Kernel: Add a dedicated SetHleHandler method to ServerPort/ServerSessionYuri Kunde Schlesner2017-06-061-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.
* HLE: Move SessionRequestHandler from Service:: to Kernel::Yuri Kunde Schlesner2017-06-061-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.