Function report | 
Source Code:arch\x86\kernel\cpu\common.c | 
Create Date:2022-07-28 07:55:31 | 
| Last Modify:2020-03-16 20:28:31 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:setup_getcpu
Proto:static inline void setup_getcpu(int cpu)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | cpu | 
| 1787 | struct desc_struct d = {} | 
| 1789 | If boot_cpu_has(RDTSCP ) Then write_rdtscp_aux(cpudata) | 
| 1796 | type = 5 | 
| 1797 | dpl = 3 | 
| 1798 | s = 1 | 
| 1799 | p = 1 | 
| 1800 | d = 1 | 
| Name | Describe | 
|---|---|
| cpu_init | 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. | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |