mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
Rearrange AHCI code, attempt to read WIP
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "kutil/assert.h"
|
||||
#include "kutil/memory.h"
|
||||
#include "acpi_tables.h"
|
||||
#include "ahci.h"
|
||||
#include "ahci/driver.h"
|
||||
#include "apic.h"
|
||||
#include "device_manager.h"
|
||||
#include "interrupts.h"
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
static const char expected_signature[] = "RSD PTR ";
|
||||
|
||||
ahci_driver ahci;
|
||||
ahci_driver ahcid;
|
||||
|
||||
struct acpi1_rsdp
|
||||
{
|
||||
@@ -278,6 +278,6 @@ device_manager::init_drivers()
|
||||
device.bus(), device.device(), device.function());
|
||||
}
|
||||
|
||||
ahci.register_device(&device);
|
||||
ahcid.register_device(&device);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user