mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:32:44 +00:00 
			
		
		
		
	Kernel: Keep records of PCI::Address & PCI::ID pairs for enumeration
This commit is contained in:
		
							parent
							
								
									688dd9ea66
								
							
						
					
					
						commit
						65f939b55c
					
				
					 12 changed files with 49 additions and 13 deletions
				
			
		|  | @ -170,7 +170,7 @@ void init_stage2() | |||
|         dbg() << "Text mode enabled"; | ||||
|     } else { | ||||
|         bool bxvga_found = false; | ||||
|         PCI::enumerate_all([&](const PCI::Address&, PCI::ID id) { | ||||
|         PCI::enumerate([&](const PCI::Address&, PCI::ID id) { | ||||
|             if (id.vendor_id == 0x1234 && id.device_id == 0x1111) | ||||
|                 bxvga_found = true; | ||||
|         }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Liav A
						Liav A