mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-01 15:43:36 +03:00
33f033066c
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.
25 lines
371 B
C++
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();
|
|
};
|
|
|
|
}
|