diff options
author | bunnei <bunneidev@gmail.com> | 2021-12-28 09:18:41 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-12-28 10:25:20 +0100 |
commit | 091463a429c39969750e03a1b9cba04d7bd5a732 (patch) | |
tree | 496f636795bebc33a3fef016604f6c78c317915e /src/core/hle/kernel/svc_common.h | |
parent | Merge pull request #7621 from bunnei/set-mem-perm (diff) | |
download | yuzu-091463a429c39969750e03a1b9cba04d7bd5a732.tar yuzu-091463a429c39969750e03a1b9cba04d7bd5a732.tar.gz yuzu-091463a429c39969750e03a1b9cba04d7bd5a732.tar.bz2 yuzu-091463a429c39969750e03a1b9cba04d7bd5a732.tar.lz yuzu-091463a429c39969750e03a1b9cba04d7bd5a732.tar.xz yuzu-091463a429c39969750e03a1b9cba04d7bd5a732.tar.zst yuzu-091463a429c39969750e03a1b9cba04d7bd5a732.zip |
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 { |