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:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:smpboot_setup_warm_reset_vector

Proto:static inline void smpboot_setup_warm_reset_vector(unsigned long start_eip)

Type:void

Parameter:

TypeParameterName
unsigned longstart_eip
126  spin_lock_irqsave( & rtc_lock, flags)
127  CMOS_WRITE(0xa, 0xf)
128  spin_unlock_irqrestore( & rtc_lock, flags)
129  *phys_to_virt - map physical address to virtual*@address: address to remap* The returned virtual address is a current CPU mapping for* the memory address given. It is only valid to use this function on* addresses that have a kernel mapping = start_eip >> 4
131  *phys_to_virt - map physical address to virtual*@address: address to remap* The returned virtual address is a current CPU mapping for* the memory address given. It is only valid to use this function on* addresses that have a kernel mapping = start_eip & 0xf
Caller
NameDescribe
do_boot_cpuNOTE - on most systems this is a PHYSICAL apic ID, but on multiquad* (ie clustered apic addressing mode), this is a LOGICAL apic ID.* Returns zero if CPU booted OK, else error code from* ->wakeup_secondary_cpu.