mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:42:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			473 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			473 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2021, Luke Wilde <lukew@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <Kernel/Bus/USB/USBController.h>
 | |
| #include <Kernel/Library/NonnullLockRefPtr.h>
 | |
| 
 | |
| namespace Kernel::USB {
 | |
| 
 | |
| class USBManagement {
 | |
| 
 | |
| public:
 | |
|     USBManagement();
 | |
|     static bool initialized();
 | |
|     static void initialize();
 | |
|     static USBManagement& the();
 | |
| 
 | |
| private:
 | |
|     void enumerate_controllers();
 | |
| 
 | |
|     USBController::List m_controllers;
 | |
| };
 | |
| 
 | |
| }
 | 
