Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\common.c Create Date:2022-07-28 07:55:32
Last Modify:2020-03-16 20:28:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:tss_setup_ist

Proto:static inline void tss_setup_ist(struct tss_struct *tss)

Type:void

Parameter:

TypeParameterName
struct tss_struct *tss
1814  ist[The index for the tss.ist[] array. The hardware limit is 7 entries.] = __this_cpu_ist_top_va(DF)
1815  ist[IST_INDEX_NMI] = __this_cpu_ist_top_va(NMI)
1816  ist[IST_INDEX_DB] = __this_cpu_ist_top_va(DB)
1817  ist[IST_INDEX_MCE] = __this_cpu_ist_top_va(MCE)
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.