1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:27:35 +00:00

Kernel: Move special sections into Sections.h

This also removes a lot of CPU.h includes infavor for Sections.h
This commit is contained in:
Hendiadyoin1 2021-06-22 17:40:16 +02:00 committed by Andreas Kling
parent 925be2758e
commit 62f9377656
93 changed files with 104 additions and 34 deletions

View file

@ -7,12 +7,12 @@
#include <AK/Assertions.h>
#include <AK/Memory.h>
#include <AK/StringView.h>
#include <Kernel/Arch/x86/CPU.h>
#include <Kernel/CMOS.h>
#include <Kernel/FileSystem/Inode.h>
#include <Kernel/Heap/kmalloc.h>
#include <Kernel/Multiboot.h>
#include <Kernel/Process.h>
#include <Kernel/Sections.h>
#include <Kernel/StdLib.h>
#include <Kernel/VM/AnonymousVMObject.h>
#include <Kernel/VM/ContiguousVMObject.h>

View file

@ -8,6 +8,7 @@
#include <AK/Singleton.h>
#include <Kernel/Process.h>
#include <Kernel/Random.h>
#include <Kernel/Sections.h>
#include <Kernel/VM/MemoryManager.h>
#include <Kernel/VM/PageDirectory.h>

View file

@ -7,7 +7,6 @@
#pragma once
#include <AK/NonnullRefPtr.h>
#include <Kernel/Arch/x86/CPU.h>
#include <Kernel/Assertions.h>
#include <Kernel/Heap/SlabAllocator.h>
#include <Kernel/PhysicalAddress.h>

View file

@ -6,9 +6,9 @@
*/
#include <AK/Vector.h>
#include <Kernel/Arch/x86/CPU.h>
#include <Kernel/VM/MemoryManager.h>
#include <Kernel/VM/Range.h>
#include <LibC/limits.h>
namespace Kernel {

View file

@ -8,7 +8,6 @@
#include <AK/Traits.h>
#include <AK/Vector.h>
#include <Kernel/Arch/x86/CPU.h>
#include <Kernel/SpinLock.h>
#include <Kernel/VM/Range.h>