mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
Kernel: Add basic AHCI functionality
The hierarchy is AHCIController, AHCIPortHandler, AHCIPort and SATADiskDevice. Each AHCIController has at least one AHCIPortHandler. An AHCIPortHandler is an interrupt handler that takes care of enumeration of handled AHCI ports when an interrupt occurs. Each AHCIPort takes care of one SATADiskDevice, and later on we can add support for Port multiplier. When we implement support of Message signalled interrupts, we can spawn many AHCIPortHandlers, and allow each one of them to be responsible for a set of AHCIPorts.
This commit is contained in:
parent
4a5cf8c789
commit
c4463cb5df
14 changed files with 1908 additions and 0 deletions
|
@ -28,6 +28,7 @@ set(SOCKET_DEBUG ON)
|
|||
set(TCP_SOCKET_DEBUG ON)
|
||||
set(PCI_DEBUG ON)
|
||||
set(PATA_DEBUG ON)
|
||||
set(AHCI_DEBUG ON)
|
||||
set(IO_DEBUG ON)
|
||||
set(FORK_DEBUG ON)
|
||||
set(POLL_SELECT_DEBUG ON)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue