函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\desc.h Create Date:2022-07-27 06:49:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Provide the original GDT

函数原型:static inline struct desc_struct *get_cpu_gdt_rw(unsigned int cpu)

返回类型:struct desc_struct

参数:

类型参数名称
unsigned intcpu
57  返回( * ({
57  cpu
57  ({
57  循环
57  const void * __vpp_verify = NULL
57  当0循环
57  gdt_page的地址
57  })
57  })).gdt
调用者
名称描述
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
get_cpu_gdt_paddrProvide the physical address of the GDT page.
__set_tss_desc
native_set_ldt
native_load_tls