mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-15 13:06:48 +00:00
代码格式修正
This commit is contained in:
parent
aacb77e0c6
commit
08181a7bb8
@ -6,7 +6,6 @@
|
|||||||
#define PORT_PCI_CONFIG_ADDRESS 0xcf8
|
#define PORT_PCI_CONFIG_ADDRESS 0xcf8
|
||||||
#define PORT_PCI_CONFIG_DATA 0xcfc
|
#define PORT_PCI_CONFIG_DATA 0xcfc
|
||||||
|
|
||||||
|
|
||||||
// pci设备结构信息的链表
|
// pci设备结构信息的链表
|
||||||
struct List *pci_device_structure_list = NULL;
|
struct List *pci_device_structure_list = NULL;
|
||||||
|
|
||||||
@ -122,7 +121,6 @@ struct pci_device_structure_pci_to_pci_bridge_t
|
|||||||
|
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 表头类型为0x2的pci设备结构(PCI to CardBus Bridge)
|
* @brief 表头类型为0x2的pci设备结构(PCI to CardBus Bridge)
|
||||||
*
|
*
|
||||||
@ -162,7 +160,6 @@ struct pci_device_structure_pci_to_cardbus_bridge_t
|
|||||||
|
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 从pci配置空间读取信息
|
* @brief 从pci配置空间读取信息
|
||||||
*
|
*
|
||||||
@ -202,8 +199,6 @@ void* pci_read_header(int *type, uchar bus, uchar slot, uchar func, bool add_to_
|
|||||||
*/
|
*/
|
||||||
void pci_checkAllBuses();
|
void pci_checkAllBuses();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 获取 device structure
|
* @brief 获取 device structure
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user