函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\apic.c Create Date:2022-07-27 09:26:23
Last Modify:2020-03-16 21:21:31 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:If mask=1, the LVT entry does not generate interrupts while mask=0* enables the vector. See also the BKDGs. Must be called with* preemption disabled.

函数原型:int setup_APIC_eilvt(u8 offset, u8 vector, u8 msg_type, u8 mask)

返回类型:int

参数:

类型参数名称
u8offset
u8vector
u8msg_type
u8mask
433  reg等于APIC_EILVTn(offset)
436  new等于mask左移16位按位或msg_type左移8位按位或vector
437  old等于apic_read(reg)
438  reserved等于reserve_eilvt_offset(offset, new)
440  如果reserved不等于new
441  打印错误信息(FW_BUG* Add this to a message where you are sure the firmware is buggy or behaves* really stupid or out of spec"cpu %d, try to use APIC%lX (LVT offset %d) for vector 0x%x, but the register is already in use for vector 0x%x on another cpu\n", 当前cpu ID(), reg, offset, new, reserved)
445  返回:负EINVAL
448  如果非eilvt_entry_is_changeable(old, new)则
449  打印错误信息(FW_BUG* Add this to a message where you are sure the firmware is buggy or behaves* really stupid or out of spec"cpu %d, try to use APIC%lX (LVT offset %d) for vector 0x%x, but the register is already in use for vector 0x%x on this cpu\n", 当前cpu ID(), reg, offset, new, old)
453  返回:负EBUSY
456  apic_write(reg, new)
458  返回:0
调用者
名称描述
setup_APIC_mce_threshold
setup_APIC_deferred_error