Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\smpboot.c Create Date:2022-07-28 08:24:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__inquire_remote_apic

Proto:void __inquire_remote_apic(int apicid)

Type:void

Parameter:

TypeParameterName
intapicid
665  unsigned i, regs[] = {APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4}
666  const char * const names[] = {"ID", "VERSION", "SPIV"}
670  pr_info("Inquiring remote APIC 0x%x...\n", apicid)
672  When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(regs) cycle
673  pr_info("... APIC 0x%x %s: ", apicid, names[i])
678  status = safe_apic_wait_icr_idle()
679  If status Then Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("a previous APIC delivery may have failed\n")
682  apic_icr_write(APIC_DM_REMRD | regs[i], apicid)
684  timeout = 0
685  Do
688  When status == APIC_ICR_RR_INPROG && timeout++ < 1000 cycle
691  Case status == APIC_ICR_RR_VALID
694  Break
695  Default