diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-21 12:54:45 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-21 12:54:45 -0400 |
commit | 04378cf03492449de6301c72c9f86fb7d3b68c2f (patch) | |
tree | c09bb318fad0a7156bc2463b31f90b6fc9dd48d7 /src/sys/include/io/dma | |
parent | 5e60c3277f04275bd5c6c68d42f390b82f0725bb (diff) |
kern: ahci: Ensure HBA is in AHCI-mode after reset
The global host control register (described by section 3.1.2 in the AHCI
spec) has an HBA reset bit which resets *everything* to a known state.
This means that after the reset, we'll have to indicate to the HBA that
we want to speak to it over the AHCI interface. We do it once before the
reset if needed, then we do it again after.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/io/dma')
0 files changed, 0 insertions, 0 deletions