Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\setup_percpu.c Create Date:2022-07-28 08:25:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:setup_percpu_segment

Proto:static inline void setup_percpu_segment(int cpu)

Type:void

Parameter:

TypeParameterName
intcpu
161  d = GDT_ENTRY_INIT(0x8092, per_cpu_offset(cpu), 0xFFFFF)
164  write_gdt_entry(Provide the original GDT , GDT_ENTRY_PERCPU, & d, DESCTYPE_S)
Caller
NameDescribe
setup_per_cpu_areas