summaryrefslogtreecommitdiff
path: root/Meta/CMake
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-11-26 19:39:26 +0200
committerLinus Groh <mail@linusgroh.de>2022-07-19 11:07:34 +0100
commit0810c1b972cd11a69c80682828cdd3501d4aba87 (patch)
tree0d364e13ea3ba0204692a5d38a57cf044ed345a9 /Meta/CMake
parent7719ef3a61e92effc341980b85ea4e363a61a820 (diff)
downloadserenity-0810c1b972cd11a69c80682828cdd3501d4aba87.zip
Kernel/Storage: Introduce basic abstraction layer for ATA components
This abstraction layer is mainly for ATA ports (AHCI ports, IDE ports). The goal is to create a convenient and flexible framework so it's possible to expand to support other types of controller (e.g. Intel PIIX and ICH IDE controllers) and to abstract operations that are possible on each component. Currently only the ATA IDE code is affected by this, making it much cleaner and readable - the ATA bus mastering code is moved to the ATAPort code so more implementations in the near future can take advantage of such functionality easily. In addition to that, the hierarchy of the ATA IDE code resembles more of the SATA AHCI code now, which means the IDEChannel class is solely responsible for getting interrupts, passing them for further processing in the ATAPort code to take care of the rest of the handling logic.
Diffstat (limited to 'Meta/CMake')
-rw-r--r--Meta/CMake/all_the_debug_macros.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Meta/CMake/all_the_debug_macros.cmake b/Meta/CMake/all_the_debug_macros.cmake
index 098ca14ecf..a2012d80c9 100644
--- a/Meta/CMake/all_the_debug_macros.cmake
+++ b/Meta/CMake/all_the_debug_macros.cmake
@@ -4,6 +4,7 @@ set(AHCI_DEBUG ON)
set(APIC_DEBUG ON)
set(APIC_SMP_DEBUG ON)
set(ARP_DEBUG ON)
+set(ATA_DEBUG ON)
set(AWAVLOADER_DEBUG ON)
set(AFLACLOADER_DEBUG ON)
set(BBFS_DEBUG ON)