ladybird/Kernel/Firmware/SysFSFirmware.h
Liav A 33f033066c Kernel: Unify BIOS and ACPI components in the SysFS firmware directory
Both should reside in the SysFS firmware directory which is normally
located in /sys/firmware.
Also, apply some OOM-safety patterns when creating the BIOS and ACPI
directories.
2021-09-12 11:52:16 +02:00

25 lines
371 B
C++

/*
* Copyright (c) 2021, Liav A. <liavalb@hotmail.co.il>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Types.h>
#include <Kernel/FileSystem/SysFS.h>
namespace Kernel {
class FirmwareSysFSDirectory : public SysFSDirectory {
public:
static void initialize();
void create_components();
private:
FirmwareSysFSDirectory();
};
}