mem: adjust MMIO addresses

This commit is contained in:
Michael Shaw 2023-05-10 01:14:33 -04:00
commit b90946e1f8
5 changed files with 8 additions and 4 deletions

View file

@ -266,6 +266,7 @@ void ahci_init()
}
abar = (hbamem_t *)((uintptr_t)dev->bar5 | hhdm_start);
if (!(abar->ghc & (1 << 31))) {
printf(LOG_WARN "AHCI controller not enabled\n");
return;