函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\common.c |
Create Date:2022-07-27 08:55:52 |
Last Modify:2020-03-16 20:28:31 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pu_init() initializes state that is per-CPU. Some data is already* initialized (naturally) in the bootstrap process, such as the GDT* and IDT. We reload them nevertheless, this function acts as a* 'CPU state barrier', nothing should get across.
函数原型:void cpu_init(void)
返回类型:void
参数:无
1861 | wait_for_master_cpu(cpu) |
1863 | ucode_cpu_init(cpu) |
1870 | setup_getcpu(cpu) |
1886 | loadsegment(取寄存器值(fs), 0) |
1887 | memset( Cached TLS descriptors: , 0, GDT_ENTRY_TLS_ENTRIES * 8) |
1890 | wrmsrl(64bit FS base , 0) |
1891 | wrmsrl(SwapGS GS shadow , 0) |
1894 | x2apic_setup() |
1901 | 通知底层不需要切换虚拟地址空间 |
1904 | tss_setup_ist(tss) |
1905 | tss_setup_io_bitmap(tss) |
1906 | set_tss_desc(cpu, & x86_tss) |
1908 | load_TR_desc() |
1913 | load_sp0((unsignedlong)(cpu_entry_stack(cpu) + 1)) |
1915 | load_mm_ldt( & init_mm) |
1920 | doublefault_init_cpu_tss() |
1924 | 如果is_uv_system()则uv_cpu_init() |
名称 | 描述 |
---|---|
start_secondary | Activate a secondary processor. |
trap_init | 设置异常处理程序 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |