Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\processor.h Create Date:2022-07-28 05:35:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:load_sp0

Proto:static inline void load_sp0(unsigned long sp0)

Type:void

Parameter:

TypeParameterName
unsigned longsp0
603  native_load_sp0(sp0)
Caller
NameDescribe
cpu_initpu_init() initializes state that is per-CPU. Some data is already* initialized (naturally) in the bootstrap process, such as the GDT* and IDT. We reload them nevertheless, this function acts as a* 'CPU state barrier', nothing should get across.