mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
Add initial AHCI structures and probe capabilities
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "kutil/assert.h"
|
||||
#include "kutil/memory.h"
|
||||
#include "acpi_tables.h"
|
||||
#include "ahci.h"
|
||||
#include "apic.h"
|
||||
#include "device_manager.h"
|
||||
#include "interrupts.h"
|
||||
@@ -13,6 +14,8 @@
|
||||
|
||||
static const char expected_signature[] = "RSD PTR ";
|
||||
|
||||
ahci_driver ahci;
|
||||
|
||||
struct acpi1_rsdp
|
||||
{
|
||||
char signature[8];
|
||||
@@ -275,5 +278,6 @@ device_manager::init_drivers()
|
||||
device.bus(), device.device(), device.function());
|
||||
}
|
||||
|
||||
ahci.register_device(&device);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user