Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:setup_gdt

Proto:static void setup_gdt(void)

Type:void

Parameter:Nothing

68  static const u64 boot_gdt[] = {[Simple and small GDT entries for booting only: ] = Constructor for a conventional segment GDT(or LDT) entry.(0xc09b, 0, 0xfffff), [GDT_ENTRY_BOOT_DS] = Constructor for a conventional segment GDT(or LDT) entry.(0xc093, 0, 0xfffff), [GDT_ENTRY_BOOT_TSS] = Constructor for a conventional segment GDT(or LDT) entry.(0x0089, 4096, 103), }
84  len = size of boot_gdt - 1
85  ptr = (u32) & boot_gdt + (These functions are used to reference data in other segments. << 4)
87  asm volatile
Caller
NameDescribe
go_to_protected_modeActual invocation sequence