fix(kernel): Add support for Flanterm breaking change & remove redundant code in ACPI.cpp
This commit is contained in:
@@ -56,30 +56,6 @@ namespace Hal {
|
||||
}
|
||||
|
||||
ACPI::ACPI(XSDP* xsdp) {
|
||||
ACPITables = new kcp::vector({
|
||||
"APIC",
|
||||
"BERT",
|
||||
"CPEP",
|
||||
"DSDT",
|
||||
"ECDT",
|
||||
"EINJ",
|
||||
"ERST",
|
||||
"FACP",
|
||||
"FACS",
|
||||
"HEST",
|
||||
"MSCT",
|
||||
"MPST",
|
||||
"OEM",
|
||||
"PMTT",
|
||||
"PSDT",
|
||||
"RASF",
|
||||
"SBST",
|
||||
"SLIT",
|
||||
"SRAT",
|
||||
"SSDT"
|
||||
}
|
||||
);
|
||||
|
||||
if (xsdp->TestChecksum() != true) {
|
||||
KernelLogStream(ERROR, "ACPI") << "Checksum failed for (R/X)SDT!";
|
||||
return;
|
||||
@@ -102,7 +78,5 @@ namespace Hal {
|
||||
nextTableAddress = xsdp->RSDTAddress;
|
||||
HandleRSDT((CommonSDTHeader*)Memory::HHDM(nextTableAddress));
|
||||
}
|
||||
|
||||
// KernelLogStream(DEBUG, "ACPI") << nextTableType.c_str() << " located at 0x" << base::hex << nextTableAddress;
|
||||
}
|
||||
};
|
||||
Submodule kernel/src/Libraries/flanterm updated: 201100c968...4cacad1621
@@ -1,5 +1,5 @@
|
||||
#include "Terminal.hpp"
|
||||
#include "../Libraries/flanterm/backends/fb.h"
|
||||
#include "../Libraries/flanterm/flanterm_backends/fb.h"
|
||||
#include "../Libraries/flanterm/flanterm.h"
|
||||
|
||||
#include "../Libraries/String.hpp"
|
||||
|
||||
Reference in New Issue
Block a user