-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
AHCI driver #206
AHCI driver #206
Conversation
Introducing the driver for AHCI disks, for ATA and SATA devices. Provides IPC endpoints to read and write some sectors. For now it is a very modest single-threaded driver, blocking on every request until the previous one is completed, but this is prone to change as AHCI supports up to 32 simultaneous outstanding commands.
Makefile rules to create a 8M disk image, and have it connected in qemu.
AHCI: Read CI and figure out which slot to useFor now AHCI driver is single-threaded and blocking, which means that the first slot is always available for use. This comment was generated by todo based on a
|
AHCI interrupts - command completionThe AHCI driver does not make any use of AHCI interruptions. To check that a command has been completed, it polls the port repeatedly until the PxCI bit cleared.
This comment was generated by todo based on a
|
IRQ capabilities at runtimeCurrently IRQ capabilities are declared at compile-time.
This comment was generated by todo based on a
|
Of course CI fails again ...
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Introducing the driver for AHCI disks, for ATA and SATA devices.
Provides IPC endpoints to read and write some sectors.
For now it is a very modest single-threaded driver,
blocking on every request until the previous one is completed,
but this is prone to change as AHCI supports up to 32 simultaneous
outstanding commands.
closes #173
closes #165