Kernel: Move ATADevice to its own file from ATAController

The API is kinda weird since device reads/writes go from
ATADevice -> ATAController -> ATADevice
but this is for now atleast necessary since ATAController has(?)
to keep all devices from using the disks at the same time
This commit is contained in:
Bananymous
2023-04-02 18:26:19 +03:00
parent f2362b2b78
commit 762d22ed28
6 changed files with 354 additions and 325 deletions

View File

@@ -39,6 +39,7 @@ set(KERNEL_SOURCES
kernel/SpinLock.cpp
kernel/SSP.cpp
kernel/Storage/ATAController.cpp
kernel/Storage/ATADevice.cpp
kernel/Storage/StorageDevice.cpp
kernel/Syscall.cpp
kernel/Thread.cpp