mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
Kernel: Remove DMI decoder from the kernel
As suggested by @supercomputer7, we can simply expose this as a blob and decode it in userspace instead. Fixes #2599.
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
*/
|
||||
|
||||
#include <AK/Types.h>
|
||||
#include <Kernel/ACPI/DMIDecoder.h>
|
||||
#include <Kernel/ACPI/DynamicParser.h>
|
||||
#include <Kernel/ACPI/Initialize.h>
|
||||
#include <Kernel/ACPI/MultiProcessorParser.h>
|
||||
@@ -229,13 +228,6 @@ void init_stage2()
|
||||
new SB16;
|
||||
VMWareBackdoor::initialize();
|
||||
|
||||
bool dmi_unreliable = kernel_command_line().contains("dmi_unreliable");
|
||||
if (dmi_unreliable) {
|
||||
DMIDecoder::initialize_untrusted();
|
||||
} else {
|
||||
DMIDecoder::initialize();
|
||||
}
|
||||
|
||||
bool force_pio = kernel_command_line().contains("force_pio");
|
||||
|
||||
auto root = kernel_command_line().lookup("root").value_or("/dev/hda");
|
||||
|
||||
Reference in New Issue
Block a user