diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | src/core/hle/kernel/k_debug.h | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 113e663b5..d3831f4a9 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt | |||
| @@ -190,6 +190,7 @@ add_library(core STATIC | |||
| 190 | hle/kernel/k_code_memory.h | 190 | hle/kernel/k_code_memory.h |
| 191 | hle/kernel/k_condition_variable.cpp | 191 | hle/kernel/k_condition_variable.cpp |
| 192 | hle/kernel/k_condition_variable.h | 192 | hle/kernel/k_condition_variable.h |
| 193 | hle/kernel/k_debug.h | ||
| 193 | hle/kernel/k_dynamic_page_manager.h | 194 | hle/kernel/k_dynamic_page_manager.h |
| 194 | hle/kernel/k_dynamic_resource_manager.h | 195 | hle/kernel/k_dynamic_resource_manager.h |
| 195 | hle/kernel/k_dynamic_slab_heap.h | 196 | hle/kernel/k_dynamic_slab_heap.h |
diff --git a/src/core/hle/kernel/k_debug.h b/src/core/hle/kernel/k_debug.h new file mode 100644 index 000000000..e3a0689c8 --- /dev/null +++ b/src/core/hle/kernel/k_debug.h | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | // SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #include "core/hle/kernel/k_auto_object.h" | ||
| 7 | #include "core/hle/kernel/slab_helpers.h" | ||
| 8 | |||
| 9 | namespace Kernel { | ||
| 10 | |||
| 11 | class KDebug final : public KAutoObjectWithSlabHeapAndContainer<KDebug, KAutoObjectWithList> { | ||
| 12 | KERNEL_AUTOOBJECT_TRAITS(KDebug, KAutoObject); | ||
| 13 | |||
| 14 | public: | ||
| 15 | explicit KDebug(KernelCore& kernel_) : KAutoObjectWithSlabHeapAndContainer{kernel_} {} | ||
| 16 | |||
| 17 | static void PostDestroy([[maybe_unused]] uintptr_t arg) {} | ||
| 18 | }; | ||
| 19 | |||
| 20 | } // namespace Kernel | ||