函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:disconnect_bsp_APIC - detach the APIC from the interrupt system*@virt_wire_setup: indicates, whether virtual wire mode is selected* Virtual wire mode is necessary to deliver legacy interrupts even when the* APIC is disabled.

函数原型:void disconnect_bsp_APIC(int virt_wire_setup)

返回类型:void

参数:

类型参数名称
intvirt_wire_setup
2280  如果pic_mode
2287  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_VERBOSE, "disabling APIC mode, entering PIC mode.\n")
2289  imcr_apic_to_pic()
2290  返回
2297  value等于apic_read(APIC_SPIV)
2298  value与等于APIC_VECTOR_MASK的反
2299  value或等于APIC_SPIV_APIC_ENABLED
2300  value或等于0xf
2301  apic_write(APIC_SPIV, value)
2303  如果非virt_wire_setup
2308  value等于apic_read(APIC_LVT0)
2309  value与等于APIC_MODE_MASK按位或APIC_SEND_PENDING按位或APIC_INPUT_POLARITY按位或APIC_LVT_REMOTE_IRR按位或APIC_LVT_LEVEL_TRIGGER按位或APIC_LVT_MASKED的值的反
2312  value或等于APIC_LVT_REMOTE_IRR按位或APIC_SEND_PENDING
2313  value等于SET_APIC_DELIVERY_MODE(value, APIC_MODE_EXTINT)
2314  apic_write(APIC_LVT0, value)
2315  否则
2317  apic_write(APIC_LVT0, APIC_LVT_MASKED)
2324  value等于apic_read(APIC_LVT1)
2325  value与等于APIC_MODE_MASK按位或APIC_SEND_PENDING按位或APIC_INPUT_POLARITY按位或APIC_LVT_REMOTE_IRR按位或APIC_LVT_LEVEL_TRIGGER按位或APIC_LVT_MASKED的值的反
2328  value或等于APIC_LVT_REMOTE_IRR按位或APIC_SEND_PENDING
2329  value等于SET_APIC_DELIVERY_MODE(value, APIC_MODE_NMI)
2330  apic_write(APIC_LVT1, value)
调用者
名称描述
native_restore_boot_irq_mode