mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:38:11 +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:
parent
42870a9494
commit
37598de582
4 changed files with 0 additions and 1715 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue