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

Name:set_tssldt_descriptor

Proto:static inline void set_tssldt_descriptor(void *d, unsigned long addr, unsigned type, unsigned size)

Type:void

Parameter:

TypeParameterName
void *d
unsigned longaddr
unsignedtype
unsignedsize
168  desc = d
170  memset(desc, 0, size of desc )
172  limit0 = size
173  base0 = addr
174  base1 = addr >> 16 & 0xFF
175  type = type
176  p = 1
177  limit1 = size >> 16 & 0xF
178  base2 = addr >> 24 & 0xFF
180  base3 = addr >> 32