merge AHCI driver #8

Manually merged
mage merged 7 commits from pci into main 2026-05-21 09:25:00 +00:00
Owner

On the final stretch, just need to fix a minor allocator issue.

On the final stretch, just need to fix a minor allocator issue.
mage added 94 commits 2026-05-21 08:58:55 +00:00
This fixes a compile issue with -O0
Also perform spin-up (if it is not supported it will be ignored)
And wait for BSY to clear after reset
phys_alloc is like a ticking timebomb so this should make the inevitable
crash a bit nicer
arg_arr must have argc+1 elements as we are expected to signal the array
end through a null terminator

The reallocation logic did not account for this null terminator, causing
it to corrupt an allocator node
mage changed title from WIP: merge AHCI driver to merge AHCI driver 2026-05-21 09:21:51 +00:00
mage manually merged commit 6d999b7447 into main 2026-05-21 09:25:00 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mage/Typhon!8
No description provided.