mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 17:26:31 +00:00
添加中断 (#370)
* 添加中断 * dhcp更改为全局socketset * 解决异常中断的问题,使得能够使用中断来处理网卡数据 --------- Co-authored-by: longjin <longjin@RinGoTek.cn>
This commit is contained in:
@ -3,7 +3,7 @@ use crate::driver::pci::pci_irq::TriggerMode;
|
||||
/// @param processor 目标CPU ID号
|
||||
/// @return MSI Message Address
|
||||
pub fn ia64_pci_get_arch_msi_message_address(processor: u16) -> u32 {
|
||||
0xfee00000 as u32 | ((processor as u32) << 12)
|
||||
0xfee00000 | ((processor as u32) << 12)
|
||||
}
|
||||
/// @brief 获得MSI Message Data
|
||||
/// @param vector 分配的中断向量号
|
||||
|
Reference in New Issue
Block a user