Home
last modified time | relevance | path

Searched refs:MAX_CPU_NUM (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.2/kernel/src/common/
Dcpu.h5 #define MAX_CPU_NUM 32 // 操作系统支持的最大处理器数量 macro
62 extern struct cpu_core_info_t cpu_core_info[MAX_CPU_NUM];
/DragonOS-0.1.2/kernel/src/sched/
Dcfs.h14 extern struct sched_queue_t sched_cfs_ready_queue[MAX_CPU_NUM]; // 就绪队列
Dcfs.c6 struct sched_queue_t sched_cfs_ready_queue[MAX_CPU_NUM]; // 就绪队列
144 memset(&sched_cfs_ready_queue, 0, sizeof(struct sched_queue_t) * MAX_CPU_NUM); in sched_cfs_init()
145 for (int i = 0; i < MAX_CPU_NUM; ++i) in sched_cfs_init()
/DragonOS-0.1.2/kernel/src/process/
Dprocess.h183 extern struct tss_struct initial_tss[MAX_CPU_NUM];
187 extern struct process_control_block *initial_proc[MAX_CPU_NUM];
Dprocess.c78 struct process_control_block *initial_proc[MAX_CPU_NUM] = {&initial_proc_union.pcb, 0};
81 struct tss_struct initial_tss[MAX_CPU_NUM] = {[0 ... MAX_CPU_NUM - 1] = INITIAL_TSS};
/DragonOS-0.1.2/kernel/src/libs/
Dcpu.c32 struct cpu_core_info_t cpu_core_info[MAX_CPU_NUM];