mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 00:46:31 +00:00
xhci控制器初始化(还存在bug,无法reset端口)
This commit is contained in:
@ -36,7 +36,7 @@ static void pci_checkBus(uint8_t bus);
|
||||
* @brief 生成架构相关的message data
|
||||
*
|
||||
*/
|
||||
#define pci_get_arch_msi_message_data(vector, processor, edge_trigger, assert) ((uint32_t)((vector & 0xff) | (edge_trigger == 1 ? 0 : (1 << 15)) | (assert == 0 ? 0 : (1 << 14))))
|
||||
#define pci_get_arch_msi_message_data(vector, processor, edge_trigger, assert) ((uint32_t)((vector & 0xff) | (edge_trigger == 1 ? 0 : (1 << 15)) | ((assert == 0) ? 0 : (1 << 14))))
|
||||
|
||||
/**
|
||||
* @brief 从pci配置空间读取信息
|
||||
|
Reference in New Issue
Block a user