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:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:native_set_ldt

Proto:static inline void native_set_ldt(const void *addr, unsigned int entries)

Type:void

Parameter:

TypeParameterName
const void *addr
unsigned intentries
198  If Value is more likely to compile time(entries == 0) Then asm volatile
200  Else
201  cpu = smp_processor_id()
204  set_tssldt_descriptor( & ldt, (unsignedlong)addr, DESC_LDT, entries * The size of each LDT entry. - 1)
206  write_gdt_entry(Provide the original GDT , GDT_ENTRY_LDT, & ldt, DESC_LDT)
208  asm volatile