From cca4a29fd65762aa91423da2c01894b1a098b6d3 Mon Sep 17 00:00:00 2001 From: jakcron Date: Sun, 15 Apr 2018 10:35:20 +0800 Subject: [PATCH] [nx] Made kMaxSystemCall public. --- lib/libnx/include/nx/SystemCallHandler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libnx/include/nx/SystemCallHandler.h b/lib/libnx/include/nx/SystemCallHandler.h index 40dd878..ead489d 100644 --- a/lib/libnx/include/nx/SystemCallHandler.h +++ b/lib/libnx/include/nx/SystemCallHandler.h @@ -7,6 +7,8 @@ namespace nx public IKernelCapabilityHandler { public: + static const uint32_t kMaxSystemCall = (BIT(3) * 24) - 1; + SystemCallHandler(); bool operator==(const SystemCallHandler& other) const; @@ -25,7 +27,6 @@ namespace nx private: const std::string kModuleName = "SYSTEM_CALL_HANDLER"; - static const uint32_t kMaxSystemCall = (BIT(3) * 24) - 1; static const size_t kSyscallTotalEntryNum = (kMaxSystemCall / 24) + 1; bool mIsSet;