continue ahci development
This commit is contained in:
parent
970b34de9a
commit
aa3eb7805d
4 changed files with 27 additions and 3 deletions
|
|
@ -12,6 +12,7 @@ struct limine_rsdp_request rsdp_req = { .id = LIMINE_RSDP_REQUEST, .revision = 0
|
|||
|
||||
static struct rsdp *rsdp = NULL;
|
||||
struct madt *__madt = NULL;
|
||||
struct mcfg *__mcfg = NULL;
|
||||
|
||||
static void rsdt_parse(struct rsdt *rsdt)
|
||||
{
|
||||
|
|
@ -30,6 +31,10 @@ static void rsdt_parse(struct rsdt *rsdt)
|
|||
__madt = (struct madt *)h;
|
||||
}
|
||||
|
||||
if(!(memcmp(h->signature, "MCFG", 4))) {
|
||||
__mcfg = (struct mcfg *)h;
|
||||
}
|
||||
|
||||
#ifdef KDEBUG
|
||||
char buf[8] = { 0 };
|
||||
memcpy(buf, h->signature, 4);
|
||||
|
|
|
|||
Loading…
Reference in a new issue