Searched refs:cpu_core_info (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.2/kernel/src/smp/ |
D | smp.c | 85 … cpu_core_info[current_starting_cpu].stack_start = (uint64_t)kmalloc(STACK_SIZE, 0) + STACK_SIZE; in smp_init() 86 …cpu_core_info[current_starting_cpu].ist_stack_start = (uint64_t)(kmalloc(STACK_SIZE, 0)) + STACK_S… in smp_init() 88 memset((void *)cpu_core_info[current_starting_cpu].stack_start - STACK_SIZE, 0, STACK_SIZE); in smp_init() 89 … memset((void *)cpu_core_info[current_starting_cpu].ist_stack_start - STACK_SIZE, 0, STACK_SIZE); in smp_init() 93 …((struct process_control_block *)(cpu_core_info[current_starting_cpu].stack_start - STACK_SIZE))->… in smp_init() 95 …((struct process_control_block *)(cpu_core_info[current_starting_cpu].ist_stack_start - STACK_SIZE… in smp_init() 98 … cpu_core_info[current_starting_cpu].tss_vaddr = (uint64_t)&initial_tss[current_starting_cpu]; in smp_init() 102 …set_tss_descriptor(10 + (current_starting_cpu * 2), (void *)(cpu_core_info[current_starting_cpu].t… in smp_init() 105 …(uint *)cpu_core_info[current_starting_cpu].tss_vaddr, cpu_core_info[current_starting_cpu].stack_s… in smp_init() 106 … cpu_core_info[current_starting_cpu].stack_start, cpu_core_info[current_starting_cpu].stack_start, in smp_init() [all …]
|
/DragonOS-0.1.2/kernel/src/common/ |
D | cpu.h | 62 extern struct cpu_core_info_t cpu_core_info[MAX_CPU_NUM];
|
/DragonOS-0.1.2/kernel/src/ |
D | main.c | 91 cpu_core_info[0].stack_start = _stack_start; in system_initialize() 92 cpu_core_info[0].tss_vaddr = (uint64_t)&initial_tss[0]; in system_initialize()
|
/DragonOS-0.1.2/kernel/src/libs/ |
D | cpu.c | 32 struct cpu_core_info_t cpu_core_info[MAX_CPU_NUM]; variable
|