Nigel
dea8ab7d71
Added new entries to .gitignore Moved away from source directory as central spot for all source code
15 lines
318 B
C++
15 lines
318 B
C++
#include "acpi.h"
|
|
RSDPTR* ACPI::rsd_ptr;
|
|
RSDT* ACPI::rsd_table;
|
|
|
|
|
|
|
|
void ACPI::initialize(){
|
|
|
|
// Find the Root System Description Pointer
|
|
ACPI::rsd_ptr = FindRSD();
|
|
printRSD(rsd_ptr);
|
|
|
|
// Get the Root System Description Table
|
|
ACPI::rsd_table = getRSDT((RSDPTR*)((uint32_t)rsd_ptr + 0xC00000000));
|
|
} |