Kernel: Add header includes closer to their use

This commit is contained in:
James Mintram 2021-10-12 23:37:52 +01:00 committed by Linus Groh
parent 1adf57530c
commit 26d7c25076
Notes: sideshowbarker 2024-07-18 02:45:37 +09:00
6 changed files with 10 additions and 0 deletions

View file

@ -24,6 +24,10 @@
#include <Kernel/Arch/x86/SafeMem.h>
#include <Kernel/Arch/x86/ScopedCritical.h>
#include <Kernel/Arch/x86/TrapFrame.h>
#include <Kernel/Arch/x86/InterruptDisabler.h>
#include <Kernel/Memory/ScopedAddressSpaceSwitcher.h>
#include <Kernel/Memory/PageDirectory.h>
namespace Kernel {

View file

@ -5,6 +5,8 @@
*/
#include <Kernel/Arch/x86/TrapFrame.h>
#include <Kernel/Arch/x86/InterruptDisabler.h>
#include <Kernel/Arch/x86/Processor.h>
namespace Kernel {

View file

@ -14,6 +14,7 @@
#include <Kernel/Memory/MemoryManager.h>
#include <Kernel/Memory/Region.h>
#include <Kernel/Sections.h>
#include <Kernel/Arch/x86/InterruptDisabler.h>
namespace Kernel::PCI {

View file

@ -10,6 +10,7 @@
#include <Kernel/Bus/USB/USBHub.h>
#include <Kernel/Bus/USB/USBRequest.h>
#include <Kernel/StdLib.h>
#include <Kernel/Arch/x86/IO.h>
namespace Kernel::USB {

View file

@ -10,6 +10,7 @@
#include <Kernel/API/KResult.h>
#include <Kernel/FileSystem/InodeIdentifier.h>
#include <Kernel/UnixTypes.h>
#include <Kernel/Forward.h>
namespace Kernel {

View file

@ -8,6 +8,7 @@
#include <AK/Singleton.h>
#include <AK/StringBuilder.h>
#include <AK/Time.h>
#include <Kernel/Arch/x86/InterruptDisabler.h>
#include <Kernel/Arch/x86/SmapDisabler.h>
#include <Kernel/Arch/x86/TrapFrame.h>
#include <Kernel/Debug.h>