Further parse AHCI information.
Send an IDENTIFY command to each drive and set up a hook to handle interrupts.
This commit is contained in:
parent
4e1888bd24
commit
0f0e39d1e9
25 changed files with 721 additions and 90 deletions
|
|
@ -1,8 +1,13 @@
|
|||
#include <mammoth/debug.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "ahci/ahci_driver.h"
|
||||
|
||||
int main(uint64_t bootstrap_cap) {
|
||||
AhciDriver driver;
|
||||
return driver.Init();
|
||||
RET_ERR(driver.Init());
|
||||
|
||||
while (1) {
|
||||
};
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue