函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\cpu_entry_area.h Create Date:2022-07-27 06:49:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cpu_entry_stack

函数原型:static inline struct entry_stack *cpu_entry_stack(int cpu)

返回类型:struct entry_stack

参数:

类型参数名称
intcpu
150  返回:stack
调用者
名称描述
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.