mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
Kernel/SysFS: Don't allocate ACPISysFS components in constructors
Instead defer it to a method to be called after the construction of ACPISysFSDirectory.
This commit is contained in:
parent
381fdaa163
commit
bbdb55126c
2 changed files with 14 additions and 8 deletions
|
@ -26,6 +26,7 @@ public:
|
|||
static NonnullRefPtr<ACPISysFSDirectory> must_create(FirmwareSysFSDirectory& firmware_directory);
|
||||
|
||||
private:
|
||||
void find_tables_and_register_them_as_components();
|
||||
explicit ACPISysFSDirectory(FirmwareSysFSDirectory& firmware_directory);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue