Home
last modified time | relevance | path

Searched refs:cpu_core_info (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.8/kernel/src/smp/
Dsmp.c102cpu_core_info[current_starting_cpu].stack_start = (uint64_t)kmalloc(STACK_SIZE, 0) + STACK_SIZE; in smp_init()
103cpu_core_info[current_starting_cpu].ist_stack_start = (uint64_t)(kmalloc(STACK_SIZE, 0)) + STACK_S… in smp_init()
105 memset((void *)cpu_core_info[current_starting_cpu].stack_start - STACK_SIZE, 0, STACK_SIZE); in smp_init()
106 … memset((void *)cpu_core_info[current_starting_cpu].ist_stack_start - STACK_SIZE, 0, STACK_SIZE); in smp_init()
110 …((struct process_control_block *)(cpu_core_info[current_starting_cpu].stack_start - STACK_SIZE))->… in smp_init()
112 …((struct process_control_block *)(cpu_core_info[current_starting_cpu].ist_stack_start - STACK_SIZE… in smp_init()
115cpu_core_info[current_starting_cpu].tss_vaddr = (uint64_t)&initial_tss[current_starting_cpu]; in smp_init()
119 …set_tss_descriptor(10 + (current_starting_cpu * 2), (void *)(cpu_core_info[current_starting_cpu].t… in smp_init()
122 …(uint *)cpu_core_info[current_starting_cpu].tss_vaddr, cpu_core_info[current_starting_cpu].stack_s… in smp_init()
123cpu_core_info[current_starting_cpu].stack_start, cpu_core_info[current_starting_cpu].stack_start, in smp_init()
[all …]
/DragonOS-0.1.8/kernel/src/common/
Dcpu.h62 extern struct cpu_core_info_t cpu_core_info[MAX_CPU_NUM];
/DragonOS-0.1.8/kernel/src/
Dmain.c88 cpu_core_info[0].stack_start = _stack_start; in system_initialize()
89 cpu_core_info[0].tss_vaddr = (uint64_t)&initial_tss[0]; in system_initialize()
/DragonOS-0.1.8/kernel/src/libs/
Dcpu.c32 struct cpu_core_info_t cpu_core_info[MAX_CPU_NUM]; variable