Home
last modified time | relevance | path

Searched refs:proc_current_cpu_id (Results 1 – 7 of 7) sorted by relevance

/DragonOS-0.1.2/kernel/src/sched/
Dcfs.c15 if (list_empty(&sched_cfs_ready_queue[proc_current_cpu_id].proc_queue.list)) in sched_cfs_dequeue()
21 …ontrol_block *proc = container_of(list_next(&sched_cfs_ready_queue[proc_current_cpu_id].proc_queue… in sched_cfs_dequeue()
24 --sched_cfs_ready_queue[proc_current_cpu_id].count; in sched_cfs_dequeue()
35 if (pcb == initial_proc[proc_current_cpu_id]) in sched_cfs_enqueue()
37 …ontrol_block *proc = container_of(list_next(&sched_cfs_ready_queue[proc_current_cpu_id].proc_queue… in sched_cfs_enqueue()
38 if ((list_empty(&sched_cfs_ready_queue[proc_current_cpu_id].proc_queue.list)) == 0) in sched_cfs_enqueue()
46 ++sched_cfs_ready_queue[proc_current_cpu_id].count; in sched_cfs_enqueue()
69 if (sched_cfs_ready_queue[proc_current_cpu_id].cpu_exec_proc_jiffies <= 0) in sched_cfs()
75 …sched_cfs_ready_queue[proc_current_cpu_id].cpu_exec_proc_jiffies = 4 / sched_cfs_ready_queue[proc_… in sched_cfs()
79 …sched_cfs_ready_queue[proc_current_cpu_id].cpu_exec_proc_jiffies = (4 / sched_cfs_ready_queue[proc… in sched_cfs()
[all …]
/DragonOS-0.1.2/kernel/src/exception/
Dtrap.c16 regs->rsp, regs->rip, proc_current_cpu_id, current_pcb->pid); in do_divide_error()
28 proc_current_cpu_id, current_pcb->pid); in do_debug()
41 proc_current_cpu_id); in do_nmi()
54 proc_current_cpu_id); in do_int3()
67 regs->rip, proc_current_cpu_id); in do_overflow()
78 proc_current_cpu_id); in do_bounds()
89 regs->rsp, regs->rip, proc_current_cpu_id, current_pcb->pid); in do_undefined_opcode()
100 regs->rip, proc_current_cpu_id); in do_dev_not_avaliable()
113 regs->rip, proc_current_cpu_id); in do_double_fault()
124 regs->rsp, regs->rip, proc_current_cpu_id); in do_coprocessor_segment_overrun()
[all …]
/DragonOS-0.1.2/kernel/src/driver/interrupt/apic/
Dapic_timer.c93 kinfo("Initializing apic timer for cpu %d", proc_current_cpu_id); in apic_timer_init()
/DragonOS-0.1.2/kernel/src/smp/
Dsmp.c175 initial_proc[proc_current_cpu_id] = current_pcb; in smp_ap_start()
191 printk_color(BLACK, WHITE, "CPU:%d IDLE process.\n", proc_current_cpu_id); in smp_ap_start()
/DragonOS-0.1.2/kernel/src/process/
Dprocess.h177 #define proc_current_cpu_id (current_pcb->cpu_id) macro
Dfork.c92 tsk->cpu_id = proc_current_cpu_id; in do_fork()
236 …memcpy(phys_2_virt(new_mms->pgd) + 256, phys_2_virt(initial_proc[proc_current_cpu_id]->mm->pgd) + … in process_copy_mm()
Dprocess.c111 initial_tss[proc_current_cpu_id].rsp0 = next->thread->rbp; in __switch_to()
374 …memcpy(phys_2_virt(new_mms->pgd) + 256, phys_2_virt(initial_proc[proc_current_cpu_id]) + 256, PAGE… in do_execve()
613 initial_tss[proc_current_cpu_id].rsp0 = initial_thread.rbp; in process_init()