Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cpu_entry_stack

Proto:static inline struct entry_stack *cpu_entry_stack(int cpu)

Type:struct entry_stack

Parameter:

TypeParameterName
intcpu
150  Return stack
Caller
NameDescribe
in_entry_stack
enable_sep_cpuSet up the CPU state needed to execute SYSENTER/SYSEXIT instructions* on 32-bit kernels:
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.