mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 16:26:31 +00:00
🆕 能成功遍历pci总线下的设备
This commit is contained in:
@ -49,7 +49,7 @@ struct pci_device_structure_header_t
|
||||
*/
|
||||
struct pci_device_structure_general_device_t
|
||||
{
|
||||
struct pci_device_structure_header_t *header;
|
||||
struct pci_device_structure_header_t header;
|
||||
uint32_t BAR0;
|
||||
uint32_t BAR1;
|
||||
uint32_t BAR2;
|
||||
@ -81,7 +81,7 @@ struct pci_device_structure_general_device_t
|
||||
*/
|
||||
struct pci_device_structure_pci_to_pci_bridge_t
|
||||
{
|
||||
struct pci_device_structure_header_t *header;
|
||||
struct pci_device_structure_header_t header;
|
||||
|
||||
uint32_t BAR0;
|
||||
uint32_t BAR1;
|
||||
@ -126,7 +126,7 @@ struct pci_device_structure_pci_to_pci_bridge_t
|
||||
*/
|
||||
struct pci_device_structure_pci_to_cardbus_bridge_t
|
||||
{
|
||||
struct pci_device_structure_header_t *header;
|
||||
struct pci_device_structure_header_t header;
|
||||
|
||||
uint32_t CardBus_Socket_ExCa_base_address;
|
||||
|
||||
|
Reference in New Issue
Block a user