Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\apic.c Create Date:2022-07-28 08:27:07
Last Modify:2020-03-16 21:21:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lapic_setup_esr

Proto:static void lapic_setup_esr(void)

Type:void

Parameter:Nothing

1487  If Not Check, if the APIC is integrated or a separate chip Then
1488  pr_info("No ESR for 82489DX.\n")
1489  Return
1492  If disable_esr Then
1499  pr_info("Leaving ESR disabled.\n")
1500  Return
1503  maxlvt = lapic_get_maxlvt - get the maximum number of local vector table entries
1504  If maxlvt > 3 Then apic_write(APIC_ESR, 0)
1506  oldvalue = apic_read(APIC_ESR)
1509  value = ERROR_APIC_VECTOR
1510  apic_write(APIC_LVTERR, value)
1515  If maxlvt > 3 Then apic_write(APIC_ESR, 0)
1517  value = apic_read(APIC_ESR)
1518  If value != oldvalue Then 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, "ESR value before enabling vector: 0x%08x after: 0x%08x\n", oldvalue, value)
Caller
NameDescribe
end_local_APIC_setup