Kernel: Extract ProcessorSpecificDataID from from Arch/Processor.h

This commit is contained in:
Hendiadyoin1 2021-12-07 00:54:25 +01:00 committed by Brian Gianforcaro
parent 556b516182
commit 3f434506f5
Notes: sideshowbarker 2024-07-17 22:58:28 +09:00
4 changed files with 19 additions and 4 deletions

View file

@ -17,10 +17,6 @@ class PageDirectory;
}
struct ProcessorMessageEntry;
enum class ProcessorSpecificDataID {
MemoryManager,
__Count,
};
struct ProcessorMessage {
using CallbackFunction = Function<void()>;

View file

@ -0,0 +1,16 @@
/*
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
namespace Kernel {
enum class ProcessorSpecificDataID {
MemoryManager,
__Count,
};
}

View file

@ -11,6 +11,8 @@
#include <AK/Function.h>
#include <AK/Types.h>
#include <Kernel/Arch/ProcessorSpecificDataID.h>
namespace Kernel {
class Thread;

View file

@ -12,6 +12,7 @@
#include <AK/Types.h>
#include <Kernel/Arch/DeferredCallEntry.h>
#include <Kernel/Arch/ProcessorSpecificDataID.h>
#include <Kernel/Arch/x86/ASM_wrapper.h>
#include <Kernel/Arch/x86/CPUID.h>
#include <Kernel/Arch/x86/DescriptorTable.h>