Home
last modified time | relevance | path

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

/DragonOS-0.1.7/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.7/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.c77 struct process_control_block *initial_proc[MAX_CPU_NUM] = {&initial_proc_union.pcb, 0};
80 struct tss_struct initial_tss[MAX_CPU_NUM] = {[0 ... MAX_CPU_NUM - 1] = INITIAL_TSS};
/DragonOS-0.1.7/kernel/src/exception/
Dsoftirq.rs20 include::bindings::bindings::MAX_CPU_NUM,
31 static mut __CPU_PENDING: Option<Box<[VecStatus; MAX_CPU_NUM as usize]>> = None;
43 __CPU_PENDING = Some(Box::new([VecStatus::default(); MAX_CPU_NUM as usize])); in softirq_init()
45 for i in 0..MAX_CPU_NUM { in softirq_init()
/DragonOS-0.1.7/kernel/src/sched/
Drt.rs8 process_control_block, MAX_CPU_NUM, PF_NEED_SCHED, SCHED_FIFO, SCHED_RR,
118 for cpu_id in 0..MAX_CPU_NUM { in new()
126 for _ in 0..MAX_CPU_NUM { in new()
Dcore.rs11 process_control_block, pt_regs, MAX_CPU_NUM, PF_NEED_MIGRATE, PROC_RUNNING, SCHED_FIFO,
207 if target > MAX_CPU_NUM.try_into().unwrap() { in sched_migrate_process()
Dcfs.rs8 initial_proc_union, process_control_block, MAX_CPU_NUM, PF_NEED_SCHED, PROC_RUNNING,
122 for _ in 0..MAX_CPU_NUM { in new()
/DragonOS-0.1.7/kernel/src/libs/
Dcpu.c32 struct cpu_core_info_t cpu_core_info[MAX_CPU_NUM];
/DragonOS-0.1.7/kernel/src/smp/
Dsmp.c232 if (cpu_id >= MAX_CPU_NUM) in kick_cpu()