mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
Kernel/SysFS: Split bulky SysFSPCI file into separate files
This commit is contained in:
parent
e488245234
commit
99bac4f34f
Notes:
sideshowbarker
2024-07-17 10:07:53 +09:00
Author: https://github.com/supercomputer7
Commit: 99bac4f34f
Pull-request: https://github.com/SerenityOS/serenity/pull/13772
8 changed files with 138 additions and 74 deletions
23
Kernel/FileSystem/SysFS/Subsystems/Bus/PCI/BusDirectory.h
Normal file
23
Kernel/FileSystem/SysFS/Subsystems/Bus/PCI/BusDirectory.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Liav A. <liavalb@hotmail.co.il>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Kernel/Bus/PCI/Definitions.h>
|
||||
#include <Kernel/FileSystem/SysFS.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
class PCIBusSysFSDirectory final : public SysFSDirectory {
|
||||
public:
|
||||
static void initialize();
|
||||
virtual StringView name() const override { return "pci"sv; }
|
||||
|
||||
private:
|
||||
PCIBusSysFSDirectory();
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue