mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-27 00:38:58 +02:00
[hle] inline HLE cmif request to not allocate on heap stuff
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
8678cb06eb
commit
34314bf1f2
3 changed files with 39 additions and 38 deletions
|
|
@ -13,6 +13,16 @@ namespace IPC {
|
|||
/// Size of the command buffer area, in 32-bit words.
|
||||
constexpr std::size_t COMMAND_BUFFER_LENGTH = 0x100 / sizeof(u32);
|
||||
|
||||
/// Must match bitfields
|
||||
constexpr std::size_t MAX_BUFFER_DESCRIPTORS = 16;
|
||||
constexpr std::size_t MAX_INCOMING_MOVE_HANDLERS = 16;
|
||||
constexpr std::size_t MAX_INCOMING_COPY_HANDLERS = 16;
|
||||
|
||||
/// Doesn't need to match bitfields but usually not big enough
|
||||
constexpr std::size_t MAX_OUTGOING_COPY_OBJECTS = 16;
|
||||
constexpr std::size_t MAX_OUTGOING_MOVE_OBJECTS = 16;
|
||||
constexpr std::size_t MAX_OUTGOING_DOMAIN_OBJECTS = 16;
|
||||
|
||||
enum class ControlCommand : u32 {
|
||||
ConvertSessionToDomain = 0,
|
||||
ConvertDomainToSession = 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue