Home
last modified time | relevance | path

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

/DragonOS-0.1.3/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.3/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.3/kernel/src/smp/
Dsmp.c171 initial_proc[proc_current_cpu_id] = current_pcb; in smp_ap_start()
187 printk_color(BLACK, WHITE, "CPU:%d IDLE process.\n", proc_current_cpu_id); in smp_ap_start()
/DragonOS-0.1.3/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()
238 …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()
386 …memcpy(phys_2_virt(new_mms->pgd) + 256, phys_2_virt(initial_proc[proc_current_cpu_id]) + 256, PAGE… in do_execve()
628 initial_tss[proc_current_cpu_id].rsp0 = initial_thread.rbp; in process_init()