mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
Kernel: Extract ProcessorSpecificDataID from from Arch/Processor.h
This commit is contained in:
parent
556b516182
commit
3f434506f5
Notes:
sideshowbarker
2024-07-17 22:58:28 +09:00
Author: https://github.com/Hendiadyoin1 Commit: https://github.com/SerenityOS/serenity/commit/3f434506f5e Pull-request: https://github.com/SerenityOS/serenity/pull/11178
@ -17,10 +17,6 @@ class PageDirectory;
|
||||
}
|
||||
|
||||
struct ProcessorMessageEntry;
|
||||
enum class ProcessorSpecificDataID {
|
||||
MemoryManager,
|
||||
__Count,
|
||||
};
|
||||
struct ProcessorMessage {
|
||||
using CallbackFunction = Function<void()>;
|
||||
|
||||
|
16
Kernel/Arch/ProcessorSpecificDataID.h
Normal file
16
Kernel/Arch/ProcessorSpecificDataID.h
Normal 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,
|
||||
};
|
||||
|
||||
}
|
@ -11,6 +11,8 @@
|
||||
#include <AK/Function.h>
|
||||
#include <AK/Types.h>
|
||||
|
||||
#include <Kernel/Arch/ProcessorSpecificDataID.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
class Thread;
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user