diff options
author | Lioncash <mathew1800@gmail.com> | 2019-12-08 03:12:14 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-12-08 04:01:17 +0100 |
commit | 67b8265bd669618294aad379189f79400f6ea461 (patch) | |
tree | ae275625c9ecd65c2296084448af071c5b2cfbd6 /src/core/hle/kernel/svc.cpp | |
parent | Merge pull request #3195 from FernandoS27/clear-exclusive (diff) | |
download | yuzu-67b8265bd669618294aad379189f79400f6ea461.tar yuzu-67b8265bd669618294aad379189f79400f6ea461.tar.gz yuzu-67b8265bd669618294aad379189f79400f6ea461.tar.bz2 yuzu-67b8265bd669618294aad379189f79400f6ea461.tar.lz yuzu-67b8265bd669618294aad379189f79400f6ea461.tar.xz yuzu-67b8265bd669618294aad379189f79400f6ea461.tar.zst yuzu-67b8265bd669618294aad379189f79400f6ea461.zip |
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index bd25de478..35ff26c39 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -1781,6 +1781,17 @@ static ResultCode SignalToAddress(Core::System& system, VAddr address, u32 type, return address_arbiter.SignalToAddress(address, signal_type, value, num_to_wake); } +static void KernelDebug([[maybe_unused]] Core::System& system, + [[maybe_unused]] u32 kernel_debug_type, [[maybe_unused]] u64 param1, + [[maybe_unused]] u64 param2, [[maybe_unused]] u64 param3) { + // Intentionally do nothing, as this does nothing in released kernel binaries. +} + +static void ChangeKernelTraceState([[maybe_unused]] Core::System& system, + [[maybe_unused]] u32 trace_state) { + // Intentionally do nothing, as this does nothing in released kernel binaries. +} + /// This returns the total CPU ticks elapsed since the CPU was powered-on static u64 GetSystemTick(Core::System& system) { LOG_TRACE(Kernel_SVC, "called"); @@ -2418,8 +2429,8 @@ static const FunctionDef SVC_Table[] = { {0x39, nullptr, "Unknown"}, {0x3A, nullptr, "Unknown"}, {0x3B, nullptr, "Unknown"}, - {0x3C, nullptr, "DumpInfo"}, - {0x3D, nullptr, "DumpInfoNew"}, + {0x3C, SvcWrap<KernelDebug>, "KernelDebug"}, + {0x3D, SvcWrap<ChangeKernelTraceState>, "ChangeKernelTraceState"}, {0x3E, nullptr, "Unknown"}, {0x3F, nullptr, "Unknown"}, {0x40, nullptr, "CreateSession"}, |