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

Name:Provide the original GDT

Proto:static inline struct desc_struct *get_cpu_gdt_rw(unsigned int cpu)

Type:struct desc_struct

Parameter:

TypeParameterName
unsigned intcpu
57  Return ( * ({
57  cpu
57  ({
57  Do
57  const void * __vpp_verify = NULL
57  When 0 cycle
57  &gdt_page
57  })
57  })).gdt
Caller
NameDescribe
load_direct_gdtLoad the original GDT from the per-cpu structure
setup_getcpu
__apm_bios_call__apm_bios_call - Make an APM BIOS 32bit call*@_call: pointer to struct apm_bios_call.* Make an APM call using the 32bit protected mode interface. The* caller is responsible for knowing if APM BIOS is configured and* enabled
__apm_bios_call_simple__apm_bios_call_simple - Make an APM BIOS 32bit call (on CPU 0)*@_call: pointer to struct apm_bios_call
apm_initJust start the APM thread. We do NOT want to do APM BIOS* calls from anything but the APM thread, if for no other reason* than the fact that we don't trust the APM BIOS. This way,* most common APM BIOS problems that lead to protection errors
do_boot_cpuNOTE - on most systems this is a PHYSICAL apic ID, but on multiquad* (ie clustered apic addressing mode), this is a LOGICAL apic ID.* Returns zero if CPU booted OK, else error code from* ->wakeup_secondary_cpu.
setup_percpu_segment