diff options
author | Hendiadyoin1 <leon2002.la@gmail.com> | 2021-06-22 17:40:16 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-24 00:38:23 +0200 |
commit | 62f9377656a18bcca1b1616f43dc3ba85dedd8c0 (patch) | |
tree | c7026c4d994088e332d8c1021481336f51ebbf35 /Kernel/Graphics | |
parent | 925be2758ec5d2bce226a5284dd8960b7bd3f09a (diff) | |
download | serenity-62f9377656a18bcca1b1616f43dc3ba85dedd8c0.zip |
Kernel: Move special sections into Sections.h
This also removes a lot of CPU.h includes infavor for Sections.h
Diffstat (limited to 'Kernel/Graphics')
-rw-r--r-- | Kernel/Graphics/BochsGraphicsAdapter.cpp | 1 | ||||
-rw-r--r-- | Kernel/Graphics/Console/TextModeConsole.cpp | 1 | ||||
-rw-r--r-- | Kernel/Graphics/Console/VGAConsole.cpp | 1 | ||||
-rw-r--r-- | Kernel/Graphics/FramebufferDevice.cpp | 4 | ||||
-rw-r--r-- | Kernel/Graphics/GraphicsManagement.cpp | 1 | ||||
-rw-r--r-- | Kernel/Graphics/VGACompatibleAdapter.cpp | 1 |
6 files changed, 7 insertions, 2 deletions
diff --git a/Kernel/Graphics/BochsGraphicsAdapter.cpp b/Kernel/Graphics/BochsGraphicsAdapter.cpp index 6e947113f5..5d764e2a05 100644 --- a/Kernel/Graphics/BochsGraphicsAdapter.cpp +++ b/Kernel/Graphics/BochsGraphicsAdapter.cpp @@ -15,6 +15,7 @@ #include <Kernel/IO.h> #include <Kernel/PCI/Access.h> #include <Kernel/Process.h> +#include <Kernel/Sections.h> #include <Kernel/VM/AnonymousVMObject.h> #include <Kernel/VM/MemoryManager.h> #include <Kernel/VM/TypedMapping.h> diff --git a/Kernel/Graphics/Console/TextModeConsole.cpp b/Kernel/Graphics/Console/TextModeConsole.cpp index 25bce279c9..2739ba4c7e 100644 --- a/Kernel/Graphics/Console/TextModeConsole.cpp +++ b/Kernel/Graphics/Console/TextModeConsole.cpp @@ -7,6 +7,7 @@ #include <Kernel/Graphics/Console/TextModeConsole.h> #include <Kernel/Graphics/GraphicsManagement.h> #include <Kernel/IO.h> +#include <Kernel/Sections.h> namespace Kernel::Graphics { diff --git a/Kernel/Graphics/Console/VGAConsole.cpp b/Kernel/Graphics/Console/VGAConsole.cpp index 70472b55e7..73bcabb7e2 100644 --- a/Kernel/Graphics/Console/VGAConsole.cpp +++ b/Kernel/Graphics/Console/VGAConsole.cpp @@ -5,6 +5,7 @@ */ #include <Kernel/Graphics/Console/VGAConsole.h> +#include <Kernel/Sections.h> namespace Kernel::Graphics { diff --git a/Kernel/Graphics/FramebufferDevice.cpp b/Kernel/Graphics/FramebufferDevice.cpp index 7f4447b144..b66583ff50 100644 --- a/Kernel/Graphics/FramebufferDevice.cpp +++ b/Kernel/Graphics/FramebufferDevice.cpp @@ -9,15 +9,15 @@ #include <Kernel/Debug.h> #include <Kernel/Graphics/FramebufferDevice.h> #include <Kernel/Graphics/GraphicsManagement.h> +#include <Kernel/Panic.h> #include <Kernel/Process.h> +#include <Kernel/Sections.h> #include <Kernel/VM/AnonymousVMObject.h> #include <Kernel/VM/MemoryManager.h> #include <Kernel/VM/TypedMapping.h> #include <LibC/errno_numbers.h> #include <LibC/sys/ioctl_numbers.h> -#include <Kernel/Panic.h> - #define MAX_RESOLUTION_WIDTH 4096 #define MAX_RESOLUTION_HEIGHT 2160 diff --git a/Kernel/Graphics/GraphicsManagement.cpp b/Kernel/Graphics/GraphicsManagement.cpp index 6fde82ee5c..69a1528eb7 100644 --- a/Kernel/Graphics/GraphicsManagement.cpp +++ b/Kernel/Graphics/GraphicsManagement.cpp @@ -18,6 +18,7 @@ #include <Kernel/Multiboot.h> #include <Kernel/PCI/IDs.h> #include <Kernel/Panic.h> +#include <Kernel/Sections.h> #include <Kernel/VM/AnonymousVMObject.h> namespace Kernel { diff --git a/Kernel/Graphics/VGACompatibleAdapter.cpp b/Kernel/Graphics/VGACompatibleAdapter.cpp index 19ece12e59..53603bbce6 100644 --- a/Kernel/Graphics/VGACompatibleAdapter.cpp +++ b/Kernel/Graphics/VGACompatibleAdapter.cpp @@ -9,6 +9,7 @@ #include <Kernel/Graphics/GraphicsManagement.h> #include <Kernel/Graphics/VGACompatibleAdapter.h> #include <Kernel/IO.h> +#include <Kernel/Sections.h> namespace Kernel { |