Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/sched/
Dcore.rs5 pub fn cpu_executing(cpu_id:u32) -> *const process_control_block{ in cpu_executing()
8 if cpu_id == process_cpu(current_pcb()){ in cpu_executing()
/DragonOS-0.1.2/kernel/src/
Dmain.c110 ((struct process_control_block *)(ptr - STACK_SIZE))->cpu_id = 0; in system_initialize()
128 current_pcb->cpu_id = 0; in system_initialize()
/DragonOS-0.1.2/kernel/src/smp/
Dsmp.c93 …t process_control_block *)(cpu_core_info[current_starting_cpu].stack_start - STACK_SIZE))->cpu_id = in smp_init()
95 …ocess_control_block *)(cpu_core_info[current_starting_cpu].ist_stack_start - STACK_SIZE))->cpu_id = in smp_init()
173 current_pcb->cpu_id = current_starting_cpu; in smp_ap_start()
/DragonOS-0.1.2/kernel/src/process/
Dprocess.rs94 unsafe { read_volatile(&(*pcb).cpu_id) } in process_cpu()
Dproc-types.h83 uint32_t cpu_id; // 当前进程在哪个CPU核心上运行 member
Dprocess.h177 #define proc_current_cpu_id (current_pcb->cpu_id)
Dprocess.c57 …_UNINTERRUPTIBLE, .flags = PF_KTHREAD, .preempt_count = 0, .signal = 0, .cpu_id = 0, \
639 initial_proc_union.pcb.cpu_id = 0; in process_init()
Dfork.c92 tsk->cpu_id = proc_current_cpu_id; in do_fork()
/DragonOS-0.1.2/kernel/src/filesystem/procfs/
Dprocfs.c136 data_puts(fdata, ltoa(pcb_t->cpu_id)); in procfs_open()