summaryrefslogblamecommitdiffstats
path: root/src/core/hle/kernel/k_debug.h
blob: e3a0689c820944a8b0976026dcce41b096208dac (plain) (tree)



















                                                                                              
// 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