🆕 disable msi

This commit is contained in:
fslongjin
2022-07-21 12:23:46 +08:00
parent 23b3f4c712
commit e7d13b5a6d
2 changed files with 75 additions and 4 deletions

View File

@ -218,6 +218,14 @@ void pci_checkAllBuses();
*/
int pci_enable_msi(void * header, uint8_t vector, uint32_t processor, uint8_t edge_trigger, uint8_t assert);
/**
* @brief 禁用指定设备的msi
*
* @param header pci header
* @return int
*/
int pci_disable_msi(void *header);
/**
* @brief 获取 device structure
*