mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-23 08:06:11 +00:00
Kernel: Introduce the new SysFS
The intention is to add dynamic mechanism for notifying the userspace about hotplug events. Currently, the DMI (SMBIOS) blobs and ACPI tables are exposed in the new filesystem.
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
#include <Kernel/ACPI/Initialize.h>
|
||||
#include <Kernel/ACPI/MultiProcessorParser.h>
|
||||
#include <Kernel/Arch/x86/Processor.h>
|
||||
#include <Kernel/Arch/PC/BIOS.h>
|
||||
#include <Kernel/CMOS.h>
|
||||
#include <Kernel/CommandLine.h>
|
||||
#include <Kernel/DMI.h>
|
||||
#include <Kernel/Devices/FullDevice.h>
|
||||
#include <Kernel/Devices/HID/HIDManagement.h>
|
||||
#include <Kernel/Devices/MemoryDevice.h>
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <Kernel/Devices/VMWareBackdoor.h>
|
||||
#include <Kernel/Devices/ZeroDevice.h>
|
||||
#include <Kernel/FileSystem/Ext2FileSystem.h>
|
||||
#include <Kernel/FileSystem/SysFS.h>
|
||||
#include <Kernel/FileSystem/VirtualFileSystem.h>
|
||||
#include <Kernel/Graphics/GraphicsManagement.h>
|
||||
#include <Kernel/Heap/SlabAllocator.h>
|
||||
@@ -146,6 +147,7 @@ extern "C" [[noreturn]] UNMAP_AFTER_INIT void init()
|
||||
ACPI::initialize();
|
||||
|
||||
// Initialize the PCI Bus as early as possible, for early boot (PCI based) serial logging
|
||||
SystemRegistrar::initialize();
|
||||
PCI::initialize();
|
||||
PCISerialDevice::detect();
|
||||
|
||||
@@ -237,7 +239,8 @@ void init_stage2(void*)
|
||||
|
||||
USB::UHCIController::detect();
|
||||
|
||||
DMIExpose::initialize();
|
||||
BIOSExposedFolder::initialize();
|
||||
ACPI::ExposedFolder::initialize();
|
||||
|
||||
VirtIO::detect();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user