Commit Graph

27 Commits (1fb4bebb63e2824c71259bc72b809d6c2bf48ca9)

Author SHA1 Message Date
Lioncash 1fb4bebb63 kernel/errors: Remove now-unused, unnecessary, error codes
Now that we've gotten the innaccurate error codes out of the way, we can
finally toss away a bunch of these, trimming down the error codes to
ones that are actually used and knocking out two TODO comments.
7 years ago
fearlessTobi 63c2e32e20 Port #4182 from Citra: "Prefix all size_t with std::" 7 years ago
Valentin Vanelslande 2ec9fbc2d4
ipc: minor fix 7 years ago
greggameplayer 94fecef137 add IPC CommandType & Some HID FunctionInfo (#487)
* add some CommandType

* add some hid FunctionInfo

* add some other HID FunctionInfo

* delete non useful comments
7 years ago
David Marcec fd86cdb2e2 Added RequestWithContext & ControlWithContext 7 years ago
bunnei fadab1d5f3 ipc: Add support for PopIpcInterface() method.
- This can be used for domain objects as inputs to service functions.
7 years ago
bunnei 1ce6fff064 hle_ipc: Add helper functions for reading and writing buffers. 7 years ago
gdkchan 59575d5cae Stub PopLaunchParameter and implement Buffer C Descriptors reading on hle_ipc (#96)
* Stub PopLaunchParameter and implement Buffer C Descriptors reading

* Address PR feedback

* Ensure we push a u64 not a size_t

* Fix formatting
7 years ago
bunnei 30cb98f874 ipc: Implement domain command CloseVirtualHandle. 7 years ago
MerryMage e35644c005 clang-format 7 years ago
Subv ab86b80cac IPC: Corrected some definitions for the buffer C descriptor flags. 7 years ago
Subv 0368324f79 IPC Cleanup: Remove 3DS-specific code and translate copy, move and domain objects in IPC requests.
Popping objects from the buffer is still not implemented.
7 years ago
Subv 226786f0b0 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.
7 years ago
bunnei 34571f4d2e hle: Use Switch formatted result codes. 8 years ago
bunnei 4fb1b24d68 hle: Implement ConvertSessionToDomain, various cleanups. 8 years ago
bunnei 960a1416de hle: Initial implementation of NX service framework and IPC. 8 years ago
Huw Pascoe a13ab958cb Fixed type conversion ambiguity 8 years ago
Yuri Kunde Schlesner 20e5abb308 ServiceFramework: Use separate copy of command buffer
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.
8 years ago
Yuri Kunde Schlesner 2cdb40d709 Kernel: Centralize error definitions in errors.h 8 years ago
Lectem fb70c9683c move push out of class body and add u8 u16 bool specializations 8 years ago
Mat M 0cb52ee74a Doxygen: Amend minor issues (#2593)
Corrects a few issues with regards to Doxygen documentation, for example:

- Incorrect parameter referencing.
- Missing @param tags.
- Typos in @param tags.

and a few minor other issues.
8 years ago
Yuri Kunde Schlesner 070daf4126 HLE/IPC: Fix uninitialized variables in helpers (#2568)
Fixes #2567
8 years ago
Lectem ee6e88fdb5 fix comments alignment 8 years ago
Lectem 8f2b642415 IPC helpers 8 years ago
Subv 016307ae65 Fixed the codestyle to match our clang-format rules. 8 years ago
Subv deb83c9fc5 Kernel/IPC: Small codestyle cleanup 8 years ago
Subv f9bcf89510 Use std::move where appropriate. 9 years ago