summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc/svc_kernel_debug.cpp
blob: cee04827913138b1cbb3af9af3423450cdeb05ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#include "core/hle/kernel/svc.h"

namespace Kernel::Svc {

void KernelDebug(Core::System& system, KernelDebugType kernel_debug_type, u64 arg0, u64 arg1,
                 u64 arg2) {
    // Intentionally do nothing, as this does nothing in released kernel binaries.
}

void ChangeKernelTraceState(Core::System& system, KernelTraceState trace_state) {
    // Intentionally do nothing, as this does nothing in released kernel binaries.
}

void KernelDebug64(Core::System& system, KernelDebugType kern_debug_type, uint64_t arg0,
                   uint64_t arg1, uint64_t arg2) {
    KernelDebug(system, kern_debug_type, arg0, arg1, arg2);
}

void ChangeKernelTraceState64(Core::System& system, KernelTraceState kern_trace_state) {
    ChangeKernelTraceState(system, kern_trace_state);
}

void KernelDebug64From32(Core::System& system, KernelDebugType kern_debug_type, uint64_t arg0,
                         uint64_t arg1, uint64_t arg2) {
    KernelDebug(system, kern_debug_type, arg0, arg1, arg2);
}

void ChangeKernelTraceState64From32(Core::System& system, KernelTraceState kern_trace_state) {
    ChangeKernelTraceState(system, kern_trace_state);
}

} // namespace Kernel::Svc