Add the Denali disk driver.
Begin enumerating information from the PCI structure and HBA AHCI structures. Currently the PCI structure address is hardcoded but it should be passed via a capability from the init process in the future.
This commit is contained in:
parent
47e3d11060
commit
30bb10207e
12 changed files with 264 additions and 44 deletions
8
sys/denali/denali.cpp
Normal file
8
sys/denali/denali.cpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include <stdint.h>
|
||||
|
||||
#include "ahci/ahci_driver.h"
|
||||
|
||||
int main(uint64_t bootstrap_cap) {
|
||||
AhciDriver driver;
|
||||
return driver.Init();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue