函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\smpboot.c Create Date:2022-07-27 09:24:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:smpboot_setup_warm_reset_vector

函数原型:static inline void smpboot_setup_warm_reset_vector(unsigned long start_eip)

返回类型:void

参数:

类型参数名称
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
调用者
名称描述
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.