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