mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:42:44 +00:00 
			
		
		
		
	 290eb53cb5
			
		
	
	
		290eb53cb5
		
	
	
	
	
		
			
			Instead, start to put everything in one place to resemble the directory structure of the SysFS when actually using it.
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			441 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			441 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:
 | |
|     virtual StringView name() const override { return "firmware"sv; }
 | |
|     static void initialize();
 | |
| 
 | |
|     void create_components();
 | |
| 
 | |
| private:
 | |
|     FirmwareSysFSDirectory();
 | |
| };
 | |
| 
 | |
| }
 |