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

Kernel/Storage: Move all ATA related code to a new subdirectory

Like what happened with the PCI and USB code, this feels like the right
thing to do because we can improve on the ATA capabilities and keep it
distinguished from the rest of the subsystem.
This commit is contained in:
Liav A 2021-11-13 10:19:31 +02:00 committed by Andreas Kling
parent 648a139af3
commit 4dc3617f3c
23 changed files with 50 additions and 50 deletions

View file

@ -82,6 +82,15 @@ set(KERNEL_SOURCES
Graphics/VGACompatibleAdapter.cpp Graphics/VGACompatibleAdapter.cpp
Graphics/GenericFramebufferDevice.cpp Graphics/GenericFramebufferDevice.cpp
SanCov.cpp SanCov.cpp
Storage/ATA/AHCIController.cpp
Storage/ATA/AHCIPort.cpp
Storage/ATA/AHCIPortHandler.cpp
Storage/ATA/ATADevice.cpp
Storage/ATA/ATADiskDevice.cpp
Storage/ATA/ATAPIDiscDevice.cpp
Storage/ATA/BMIDEChannel.cpp
Storage/ATA/IDEController.cpp
Storage/ATA/IDEChannel.cpp
Storage/Partition/DiskPartition.cpp Storage/Partition/DiskPartition.cpp
Storage/Partition/DiskPartitionMetadata.cpp Storage/Partition/DiskPartitionMetadata.cpp
Storage/Partition/EBRPartitionTable.cpp Storage/Partition/EBRPartitionTable.cpp
@ -89,15 +98,6 @@ set(KERNEL_SOURCES
Storage/Partition/MBRPartitionTable.cpp Storage/Partition/MBRPartitionTable.cpp
Storage/Partition/PartitionTable.cpp Storage/Partition/PartitionTable.cpp
Storage/StorageDevice.cpp Storage/StorageDevice.cpp
Storage/AHCIController.cpp
Storage/AHCIPort.cpp
Storage/AHCIPortHandler.cpp
Storage/ATADevice.cpp
Storage/ATADiskDevice.cpp
Storage/ATAPIDiscDevice.cpp
Storage/BMIDEChannel.cpp
Storage/IDEController.cpp
Storage/IDEChannel.cpp
Storage/RamdiskController.cpp Storage/RamdiskController.cpp
Storage/RamdiskDevice.cpp Storage/RamdiskDevice.cpp
Storage/StorageManagement.cpp Storage/StorageManagement.cpp

View file

@ -10,8 +10,8 @@
#include <AK/Types.h> #include <AK/Types.h>
#include <Kernel/Bus/PCI/API.h> #include <Kernel/Bus/PCI/API.h>
#include <Kernel/Memory/MemoryManager.h> #include <Kernel/Memory/MemoryManager.h>
#include <Kernel/Storage/AHCIController.h> #include <Kernel/Storage/ATA/AHCIController.h>
#include <Kernel/Storage/AHCIPortHandler.h> #include <Kernel/Storage/ATA/AHCIPortHandler.h>
namespace Kernel { namespace Kernel {

View file

@ -10,8 +10,8 @@
#include <AK/RefPtr.h> #include <AK/RefPtr.h>
#include <AK/Types.h> #include <AK/Types.h>
#include <Kernel/Sections.h> #include <Kernel/Sections.h>
#include <Kernel/Storage/AHCI.h> #include <Kernel/Storage/ATA/AHCI.h>
#include <Kernel/Storage/ATAController.h> #include <Kernel/Storage/ATA/ATAController.h>
#include <Kernel/Storage/StorageDevice.h> #include <Kernel/Storage/StorageDevice.h>
namespace Kernel { namespace Kernel {

View file

@ -12,9 +12,9 @@
#include <Kernel/Memory/MemoryManager.h> #include <Kernel/Memory/MemoryManager.h>
#include <Kernel/Memory/ScatterGatherList.h> #include <Kernel/Memory/ScatterGatherList.h>
#include <Kernel/Memory/TypedMapping.h> #include <Kernel/Memory/TypedMapping.h>
#include <Kernel/Storage/AHCIPort.h> #include <Kernel/Storage/ATA/AHCIPort.h>
#include <Kernel/Storage/ATA.h> #include <Kernel/Storage/ATA/ATA.h>
#include <Kernel/Storage/ATADiskDevice.h> #include <Kernel/Storage/ATA/ATADiskDevice.h>
#include <Kernel/Storage/StorageManagement.h> #include <Kernel/Storage/StorageManagement.h>
#include <Kernel/WorkQueue.h> #include <Kernel/WorkQueue.h>

View file

@ -20,9 +20,9 @@
#include <Kernel/PhysicalAddress.h> #include <Kernel/PhysicalAddress.h>
#include <Kernel/Random.h> #include <Kernel/Random.h>
#include <Kernel/Sections.h> #include <Kernel/Sections.h>
#include <Kernel/Storage/AHCI.h> #include <Kernel/Storage/ATA/AHCI.h>
#include <Kernel/Storage/AHCIPortHandler.h> #include <Kernel/Storage/ATA/AHCIPortHandler.h>
#include <Kernel/Storage/ATADevice.h> #include <Kernel/Storage/ATA/ATADevice.h>
#include <Kernel/WaitQueue.h> #include <Kernel/WaitQueue.h>
namespace Kernel { namespace Kernel {

View file

@ -5,7 +5,7 @@
*/ */
#include <Kernel/CommandLine.h> #include <Kernel/CommandLine.h>
#include <Kernel/Storage/AHCIPortHandler.h> #include <Kernel/Storage/ATA/AHCIPortHandler.h>
namespace Kernel { namespace Kernel {

View file

@ -15,8 +15,8 @@
#include <Kernel/PhysicalAddress.h> #include <Kernel/PhysicalAddress.h>
#include <Kernel/Random.h> #include <Kernel/Random.h>
#include <Kernel/Sections.h> #include <Kernel/Sections.h>
#include <Kernel/Storage/AHCIController.h> #include <Kernel/Storage/ATA/AHCIController.h>
#include <Kernel/Storage/AHCIPort.h> #include <Kernel/Storage/ATA/AHCIPort.h>
#include <Kernel/Storage/StorageDevice.h> #include <Kernel/Storage/StorageDevice.h>
#include <Kernel/WaitQueue.h> #include <Kernel/WaitQueue.h>

View file

@ -6,9 +6,9 @@
#include <AK/StringView.h> #include <AK/StringView.h>
#include <Kernel/Sections.h> #include <Kernel/Sections.h>
#include <Kernel/Storage/ATADevice.h> #include <Kernel/Storage/ATA/ATADevice.h>
#include <Kernel/Storage/IDEChannel.h> #include <Kernel/Storage/ATA/IDEChannel.h>
#include <Kernel/Storage/IDEController.h> #include <Kernel/Storage/ATA/IDEController.h>
#include <Kernel/Storage/StorageManagement.h> #include <Kernel/Storage/StorageManagement.h>
namespace Kernel { namespace Kernel {

View file

@ -8,7 +8,7 @@
#include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/Interrupts/IRQHandler.h>
#include <Kernel/Locking/Mutex.h> #include <Kernel/Locking/Mutex.h>
#include <Kernel/Storage/ATAController.h> #include <Kernel/Storage/ATA/ATAController.h>
#include <Kernel/Storage/StorageDevice.h> #include <Kernel/Storage/StorageDevice.h>
namespace Kernel { namespace Kernel {

View file

@ -7,9 +7,9 @@
#include <AK/StringView.h> #include <AK/StringView.h>
#include <Kernel/Devices/DeviceManagement.h> #include <Kernel/Devices/DeviceManagement.h>
#include <Kernel/Sections.h> #include <Kernel/Sections.h>
#include <Kernel/Storage/ATADiskDevice.h> #include <Kernel/Storage/ATA/ATADiskDevice.h>
#include <Kernel/Storage/IDEChannel.h> #include <Kernel/Storage/ATA/IDEChannel.h>
#include <Kernel/Storage/IDEController.h> #include <Kernel/Storage/ATA/IDEController.h>
#include <Kernel/Storage/StorageManagement.h> #include <Kernel/Storage/StorageManagement.h>
namespace Kernel { namespace Kernel {

View file

@ -8,7 +8,7 @@
#include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/Interrupts/IRQHandler.h>
#include <Kernel/Locking/Mutex.h> #include <Kernel/Locking/Mutex.h>
#include <Kernel/Storage/ATADevice.h> #include <Kernel/Storage/ATA/ATADevice.h>
namespace Kernel { namespace Kernel {

View file

@ -7,9 +7,9 @@
#include <AK/StringView.h> #include <AK/StringView.h>
#include <Kernel/Devices/DeviceManagement.h> #include <Kernel/Devices/DeviceManagement.h>
#include <Kernel/Sections.h> #include <Kernel/Sections.h>
#include <Kernel/Storage/ATAPIDiscDevice.h> #include <Kernel/Storage/ATA/ATAPIDiscDevice.h>
#include <Kernel/Storage/IDEChannel.h> #include <Kernel/Storage/ATA/IDEChannel.h>
#include <Kernel/Storage/IDEController.h> #include <Kernel/Storage/ATA/IDEController.h>
#include <Kernel/Storage/StorageManagement.h> #include <Kernel/Storage/StorageManagement.h>
namespace Kernel { namespace Kernel {

View file

@ -8,7 +8,7 @@
#include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/Interrupts/IRQHandler.h>
#include <Kernel/Locking/Mutex.h> #include <Kernel/Locking/Mutex.h>
#include <Kernel/Storage/ATADevice.h> #include <Kernel/Storage/ATA/ATADevice.h>
namespace Kernel { namespace Kernel {

View file

@ -6,9 +6,9 @@
#include <Kernel/Bus/PCI/API.h> #include <Kernel/Bus/PCI/API.h>
#include <Kernel/Sections.h> #include <Kernel/Sections.h>
#include <Kernel/Storage/ATA.h> #include <Kernel/Storage/ATA/ATA.h>
#include <Kernel/Storage/BMIDEChannel.h> #include <Kernel/Storage/ATA/BMIDEChannel.h>
#include <Kernel/Storage/IDEController.h> #include <Kernel/Storage/ATA/IDEController.h>
#include <Kernel/WorkQueue.h> #include <Kernel/WorkQueue.h>
namespace Kernel { namespace Kernel {

View file

@ -7,7 +7,7 @@
#pragma once #pragma once
#include <AK/OwnPtr.h> #include <AK/OwnPtr.h>
#include <Kernel/Storage/IDEChannel.h> #include <Kernel/Storage/ATA/IDEChannel.h>
namespace Kernel { namespace Kernel {

View file

@ -11,10 +11,10 @@
#include <Kernel/Memory/MemoryManager.h> #include <Kernel/Memory/MemoryManager.h>
#include <Kernel/Process.h> #include <Kernel/Process.h>
#include <Kernel/Sections.h> #include <Kernel/Sections.h>
#include <Kernel/Storage/ATA.h> #include <Kernel/Storage/ATA/ATA.h>
#include <Kernel/Storage/ATADiskDevice.h> #include <Kernel/Storage/ATA/ATADiskDevice.h>
#include <Kernel/Storage/IDEChannel.h> #include <Kernel/Storage/ATA/IDEChannel.h>
#include <Kernel/Storage/IDEController.h> #include <Kernel/Storage/ATA/IDEController.h>
#include <Kernel/WorkQueue.h> #include <Kernel/WorkQueue.h>
namespace Kernel { namespace Kernel {

View file

@ -25,7 +25,7 @@
#include <Kernel/Memory/PhysicalPage.h> #include <Kernel/Memory/PhysicalPage.h>
#include <Kernel/PhysicalAddress.h> #include <Kernel/PhysicalAddress.h>
#include <Kernel/Random.h> #include <Kernel/Random.h>
#include <Kernel/Storage/ATADevice.h> #include <Kernel/Storage/ATA/ATADevice.h>
#include <Kernel/Storage/StorageDevice.h> #include <Kernel/Storage/StorageDevice.h>
#include <Kernel/WaitQueue.h> #include <Kernel/WaitQueue.h>

View file

@ -10,9 +10,9 @@
#include <Kernel/Bus/PCI/API.h> #include <Kernel/Bus/PCI/API.h>
#include <Kernel/FileSystem/ProcFS.h> #include <Kernel/FileSystem/ProcFS.h>
#include <Kernel/Sections.h> #include <Kernel/Sections.h>
#include <Kernel/Storage/ATADiskDevice.h> #include <Kernel/Storage/ATA/ATADiskDevice.h>
#include <Kernel/Storage/BMIDEChannel.h> #include <Kernel/Storage/ATA/BMIDEChannel.h>
#include <Kernel/Storage/IDEController.h> #include <Kernel/Storage/ATA/IDEController.h>
namespace Kernel { namespace Kernel {

View file

@ -9,8 +9,8 @@
#include <AK/OwnPtr.h> #include <AK/OwnPtr.h>
#include <AK/RefPtr.h> #include <AK/RefPtr.h>
#include <AK/Types.h> #include <AK/Types.h>
#include <Kernel/Storage/ATAController.h> #include <Kernel/Storage/ATA/ATAController.h>
#include <Kernel/Storage/IDEChannel.h> #include <Kernel/Storage/ATA/IDEChannel.h>
#include <Kernel/Storage/StorageDevice.h> #include <Kernel/Storage/StorageDevice.h>
namespace Kernel { namespace Kernel {

View file

@ -13,8 +13,8 @@
#include <Kernel/Devices/BlockDevice.h> #include <Kernel/Devices/BlockDevice.h>
#include <Kernel/FileSystem/Ext2FileSystem.h> #include <Kernel/FileSystem/Ext2FileSystem.h>
#include <Kernel/Panic.h> #include <Kernel/Panic.h>
#include <Kernel/Storage/AHCIController.h> #include <Kernel/Storage/ATA/AHCIController.h>
#include <Kernel/Storage/IDEController.h> #include <Kernel/Storage/ATA/IDEController.h>
#include <Kernel/Storage/Partition/EBRPartitionTable.h> #include <Kernel/Storage/Partition/EBRPartitionTable.h>
#include <Kernel/Storage/Partition/GUIDPartitionTable.h> #include <Kernel/Storage/Partition/GUIDPartitionTable.h>
#include <Kernel/Storage/Partition/MBRPartitionTable.h> #include <Kernel/Storage/Partition/MBRPartitionTable.h>