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.
8 lines
134 B
C++
8 lines
134 B
C++
#include <stdint.h>
|
|
|
|
#include "ahci/ahci_driver.h"
|
|
|
|
int main(uint64_t bootstrap_cap) {
|
|
AhciDriver driver;
|
|
return driver.Init();
|
|
}
|