Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:The LTR instruction marks the TSS GDT entry as busy. On 64-bit, the GDT is* a read-only remapping. To prevent a page fault, the GDT is switched to the* original writeable version when needed.

Proto:static inline void native_load_tr_desc(void)

Type:void

Parameter:Nothing

241  cpu = These macros fold the SMP functionality into a single CPU system()
242  restore = 0
245  native_store_gdt( & gdt)
246  fixmap_gdt = Provide the fixmap address of the remapped GDT
252  If address == fixmap_gdt Then
253  Load the original GDT from the per-cpu structure
254  restore = 1
256  asm volatile
257  If restore Then Load a fixmap remapping of the per-cpu GDT