diff options
author | Liav A <liavalb@gmail.com> | 2022-10-23 21:51:56 +0300 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2022-11-08 02:54:48 -0700 |
commit | f53149d5f61422bad5507661af2ff3374bc0f9c8 (patch) | |
tree | d3e233cc35704c534badd0642f008bb024008722 /Kernel/Bus | |
parent | 7eed3dab5d77116ba9749ceb66e5d4e998db7c22 (diff) | |
download | serenity-f53149d5f61422bad5507661af2ff3374bc0f9c8.zip |
Kernel: Split the SysFS core files into smaller components
Diffstat (limited to 'Kernel/Bus')
-rw-r--r-- | Kernel/Bus/PCI/Access.h | 4 | ||||
-rw-r--r-- | Kernel/Bus/PCI/Controller/MemoryBackedHostBridge.cpp | 1 | ||||
-rw-r--r-- | Kernel/Bus/PCI/Controller/MemoryBackedHostBridge.h | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/Kernel/Bus/PCI/Access.h b/Kernel/Bus/PCI/Access.h index 51d7776b5e..31ea56049d 100644 --- a/Kernel/Bus/PCI/Access.h +++ b/Kernel/Bus/PCI/Access.h @@ -7,11 +7,11 @@ #pragma once #include <AK/Bitmap.h> +#include <AK/HashMap.h> #include <AK/Try.h> #include <AK/Vector.h> #include <Kernel/Bus/PCI/Controller/HostController.h> #include <Kernel/Bus/PCI/Definitions.h> -#include <Kernel/FileSystem/SysFS.h> #include <Kernel/Locking/Spinlock.h> namespace Kernel::PCI { @@ -59,7 +59,7 @@ private: mutable RecursiveSpinlock m_access_lock { LockRank::None }; mutable Spinlock m_scan_lock { LockRank::None }; - HashMap<u32, NonnullOwnPtr<HostController>> m_host_controllers; + HashMap<u32, NonnullOwnPtr<PCI::HostController>> m_host_controllers; Vector<DeviceIdentifier> m_device_identifiers; }; } diff --git a/Kernel/Bus/PCI/Controller/MemoryBackedHostBridge.cpp b/Kernel/Bus/PCI/Controller/MemoryBackedHostBridge.cpp index c121e63ed3..a6c6c6bb88 100644 --- a/Kernel/Bus/PCI/Controller/MemoryBackedHostBridge.cpp +++ b/Kernel/Bus/PCI/Controller/MemoryBackedHostBridge.cpp @@ -7,6 +7,7 @@ #include <AK/ByteReader.h> #include <Kernel/Bus/PCI/Access.h> #include <Kernel/Bus/PCI/Controller/MemoryBackedHostBridge.h> +#include <Kernel/Memory/MemoryManager.h> namespace Kernel::PCI { diff --git a/Kernel/Bus/PCI/Controller/MemoryBackedHostBridge.h b/Kernel/Bus/PCI/Controller/MemoryBackedHostBridge.h index 182d82308d..153c44738f 100644 --- a/Kernel/Bus/PCI/Controller/MemoryBackedHostBridge.h +++ b/Kernel/Bus/PCI/Controller/MemoryBackedHostBridge.h @@ -10,6 +10,7 @@ #include <AK/Vector.h> #include <Kernel/Bus/PCI/Controller/HostController.h> #include <Kernel/Locking/Spinlock.h> +#include <Kernel/Memory/Region.h> namespace Kernel::PCI { |