Searched refs:MAX_CPU_NUM (Results 1 – 9 of 9) sorted by relevance
/DragonOS-0.1.7/kernel/src/common/ |
D | cpu.h | 5 #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/ |
D | process.h | 183 extern struct tss_struct initial_tss[MAX_CPU_NUM]; 187 extern struct process_control_block *initial_proc[MAX_CPU_NUM];
|
D | process.c | 77 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/ |
D | softirq.rs | 20 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/ |
D | rt.rs | 8 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()
|
D | core.rs | 11 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()
|
D | cfs.rs | 8 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/ |
D | cpu.c | 32 struct cpu_core_info_t cpu_core_info[MAX_CPU_NUM];
|
/DragonOS-0.1.7/kernel/src/smp/ |
D | smp.c | 232 if (cpu_id >= MAX_CPU_NUM) in kick_cpu()
|