1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

Kernel: Move DMI decoder initialization method to init_stage2

Also, PCI Initializer dismiss() now deletes the object correctly, and
the PCI initialization process no longer use the DMI decoder to
determine if PCI is supported.
grub configuration files include an entry to boot the OS without
ACPI support.
This commit is contained in:
Liav A 2020-01-13 21:26:46 +02:00 committed by Andreas Kling
parent 918097ae94
commit c2ef7f740b
5 changed files with 32 additions and 43 deletions

View file

@ -9,14 +9,14 @@ public:
static PCI::Initializer& the();
void initialize_pci_mmio_access(ACPI_RAW::MCFG& mcfg);
void initialize_pci_io_access();
void test_and_initialize(bool disable_pci_mmio, bool pci_force_probing);
void test_and_initialize(bool disable_pci_mmio);
static void dismiss();
private:
~Initializer();
Initializer();
bool test_acpi();
bool test_pci_io(bool pci_force_probing);
bool test_pci_io();
bool test_pci_mmio();
void initialize_pci_mmio_access_after_test();
};