diff options
| author | bunnei <bunneidev@gmail.com> | 2021-12-29 20:30:12 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-29 20:30:12 -0800 |
| commit | 5e5827190374946cc906da3a5d2aa586a9721ba0 (patch) | |
| tree | 201c75203b27a63f9706c1d3297c70f9d1b9ef2c /src/core/hle/kernel/svc_common.h | |
| parent | 279c7bcc1af09933a02ee38c888847df1419f44d (diff) | |
| parent | 091463a429c39969750e03a1b9cba04d7bd5a732 (diff) | |
Merge pull request #7635 from bunnei/set-heap-size
core: hle: kernel: Updated implementation of svcSetHeapSize.
Diffstat (limited to 'src/core/hle/kernel/svc_common.h')
| -rw-r--r-- | src/core/hle/kernel/svc_common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/svc_common.h b/src/core/hle/kernel/svc_common.h index 60ea2c405..25de6e437 100644 --- a/src/core/hle/kernel/svc_common.h +++ b/src/core/hle/kernel/svc_common.h @@ -5,6 +5,7 @@ #pragma once #include "common/common_types.h" +#include "common/literals.h" namespace Kernel { using Handle = u32; @@ -12,9 +13,13 @@ using Handle = u32; namespace Kernel::Svc { +using namespace Common::Literals; + constexpr s32 ArgumentHandleCountMax = 0x40; constexpr u32 HandleWaitMask{1u << 30}; +constexpr inline std::size_t HeapSizeAlignment = 2_MiB; + constexpr inline Handle InvalidHandle = Handle(0); enum PseudoHandle : Handle { |
