mem: adjust MMIO addresses
This commit is contained in:
parent
1aaeeda22d
commit
b90946e1f8
5 changed files with 8 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue