Home
last modified time | relevance | path

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

/DragonOS-0.1.8/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.8/kernel/src/mm/
Dpercpu.rs14 const CPU_NUM: AtomicUsize = AtomicUsize::new(PerCpu::MAX_CPU_NUM);
20 pub const MAX_CPU_NUM: usize = 128; constant
/DragonOS-0.1.8/kernel/src/process/
Dprocess.h173 extern struct tss_struct initial_tss[MAX_CPU_NUM];
177 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.8/kernel/src/exception/
Dsoftirq.rs19 include::bindings::bindings::MAX_CPU_NUM,
30 static mut __CPU_PENDING: Option<Box<[VecStatus; MAX_CPU_NUM as usize]>> = None;
42 __CPU_PENDING = Some(Box::new([VecStatus::default(); MAX_CPU_NUM as usize])); in softirq_init()
44 for i in 0..MAX_CPU_NUM { in softirq_init()
/DragonOS-0.1.8/kernel/src/sched/
Drt.rs8 process_control_block, MAX_CPU_NUM, PF_NEED_SCHED, SCHED_FIFO, SCHED_RR,
116 for cpu_id in 0..MAX_CPU_NUM { in new()
124 for _ in 0..MAX_CPU_NUM { in new()
Dcore.rs7 process_control_block, MAX_CPU_NUM, PF_NEED_MIGRATE, PROC_RUNNING, SCHED_FIFO,
186 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,
121 for _ in 0..MAX_CPU_NUM { in new()
/DragonOS-0.1.8/kernel/src/libs/
Dcpu.c32 struct cpu_core_info_t cpu_core_info[MAX_CPU_NUM];