mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 17:26:31 +00:00
wrench: 更新Makefile
This commit is contained in:
@ -205,34 +205,7 @@ void* pci_read_header(int *type, uchar bus, uchar slot, uchar func, bool add_to_
|
||||
*/
|
||||
void pci_checkAllBuses();
|
||||
|
||||
/**
|
||||
* @brief 启用 Message Signaled Interrupts
|
||||
*
|
||||
* @param header 设备header
|
||||
* @param vector 中断向量号
|
||||
* @param processor 要投递到的处理器
|
||||
* @param edge_trigger 是否边缘触发
|
||||
* @param assert 是否高电平触发
|
||||
*
|
||||
* @return 返回码
|
||||
*/
|
||||
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 在已配置好msi寄存器的设备上,使能msi
|
||||
*
|
||||
* @param header 设备头部
|
||||
* @return int 返回码
|
||||
*/
|
||||
int pci_start_msi(void *header);
|
||||
|
||||
/**
|
||||
* @brief 获取 device structure
|
||||
|
Reference in New Issue
Block a user