aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_debug.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-11-05 13:25:29 -0400
committerGitHub <noreply@github.com>2022-11-05 13:25:29 -0400
commit4c198bbf06fe7b72d4718cf3571e99b6169e9f47 (patch)
tree3f091be57ce7198ee53b721b160a454ef6dee913 /src/core/hle/kernel/k_debug.h
parent8baf036cdc1c7b8bc1e6692b4e896cf4cbc6ae6d (diff)
parentcf0f821565570314c7a47ba332774f4d4c0fff71 (diff)
Merge pull request #9173 from bunnei/kern-update-15
Kernel: Various updates for FW 15.0.x
Diffstat (limited to 'src/core/hle/kernel/k_debug.h')
-rw-r--r--src/core/hle/kernel/k_debug.h20
1 files changed, 20 insertions, 0 deletions
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 @@
+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/hle/kernel/k_auto_object.h"
+#include "core/hle/kernel/slab_helpers.h"
+
+namespace Kernel {
+
+class KDebug final : public KAutoObjectWithSlabHeapAndContainer<KDebug, KAutoObjectWithList> {
+ KERNEL_AUTOOBJECT_TRAITS(KDebug, KAutoObject);
+
+public:
+ explicit KDebug(KernelCore& kernel_) : KAutoObjectWithSlabHeapAndContainer{kernel_} {}
+
+ static void PostDestroy([[maybe_unused]] uintptr_t arg) {}
+};
+
+} // namespace Kernel