函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:This interrupt should never happen with our APIC/SMP architecture

函数原型:__visible void __irq_entry smp_error_interrupt(struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
struct pt_regs *regs
2207  static const char * const error_interrupt_reason[] = {"Send CS error", "Receive CS error", "Send accept error", "Receive accept error", "Redirectable IPI", "Send illegal vector", "Received illegal vector", "Illegal register address", }
2217  i等于0
2219  entering_irq()
2220  trace_error_apic_entry(ERROR_APIC_VECTOR)
2223  如果lapic_get_maxlvt - get the maximum number of local vector table entries大于3则apic_write(APIC_ESR, 0)
2225  v等于apic_read(APIC_ESR)
2226  ack_APIC_irq()
2227  atomic_inc( & irq_err_count)
2229  Define the default level of output to be very little* This can be turned up by using apic=verbose for more* information and apic=debug for _lots_ of information.* apic_verbosity is defined in apic.c(APIC_DEBUG, debug-level messages "APIC error on CPU%d: %02x", 当前cpu ID(), v)
2232  v与等于0xff
2233 v循环
2234  如果v按位与0x1则Define the default level of output to be very little* This can be turned up by using apic=verbose for more* information and apic=debug for _lots_ of information.* apic_verbosity is defined in apic.c(APIC_DEBUG, Annotation for a "continued" line of log printout (only done after a* line that had no enclosing \n). Only to be used by core/arch code* during early bootup (a continued line is not SMP-safe otherwise)." : %s", error_interrupt_reason[i])
2236  i自加
2237  v右移等于1位
2240  Define the default level of output to be very little* This can be turned up by using apic=verbose for more* information and apic=debug for _lots_ of information.* apic_verbosity is defined in apic.c(APIC_DEBUG, Annotation for a "continued" line of log printout (only done after a* line that had no enclosing \n). Only to be used by core/arch code* during early bootup (a continued line is not SMP-safe otherwise)."\n")
2242  trace_error_apic_exit(ERROR_APIC_VECTOR)
2243  exiting_irq()