mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:42:44 +00:00 
			
		
		
		
	Kernel/PCI: Remove Address from enumeration callback
If we need that address, we can always get it from the DeviceIdentifier.
This commit is contained in:
		
							parent
							
								
									a411a44fda
								
							
						
					
					
						commit
						9d9d57056e
					
				
					 13 changed files with 27 additions and 30 deletions
				
			
		|  | @ -17,7 +17,7 @@ u8 read8(Address address, u32 field) { return Access::the().read8_field(address, | |||
| u16 read16(Address address, u32 field) { return Access::the().read16_field(address, field); } | ||||
| u32 read32(Address address, u32 field) { return Access::the().read32_field(address, field); } | ||||
| 
 | ||||
| void enumerate(Function<void(Address, DeviceIdentifier const&)> callback) | ||||
| void enumerate(Function<void(DeviceIdentifier const&)> callback) | ||||
| { | ||||
|     Access::the().fast_enumerate(callback); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Liav A
						Liav A