/DragonOS-0.1.8/kernel/src/exception/ |
D | trap.c | 12 void do_divide_error(struct pt_regs *regs, unsigned long error_code) in do_divide_error() 23 void do_debug(struct pt_regs *regs, unsigned long error_code) in do_debug() 35 void do_nmi(struct pt_regs *regs, unsigned long error_code) in do_nmi() 48 void do_int3(struct pt_regs *regs, unsigned long error_code) in do_int3() 61 void do_overflow(struct pt_regs *regs, unsigned long error_code) in do_overflow() 74 void do_bounds(struct pt_regs *regs, unsigned long error_code) in do_bounds() 85 void do_undefined_opcode(struct pt_regs *regs, unsigned long error_code) in do_undefined_opcode() 96 void do_dev_not_avaliable(struct pt_regs *regs, unsigned long error_code) in do_dev_not_avaliable() 107 void do_double_fault(struct pt_regs *regs, unsigned long error_code) in do_double_fault() 120 void do_coprocessor_segment_overrun(struct pt_regs *regs, unsigned long error_code) in do_coprocessor_segment_overrun() [all …]
|
D | irq.h | 24 extern void do_IRQ(struct pt_regs *regs, ul number); 133 void (*handler)(ul irq_num, ul parameter, struct pt_regs *regs); 157 int irq_register(ul irq_num, void *arg, void (*handler)(ul irq_num, ul parameter, struct pt_regs *r…
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/asm/ |
D | ptrace.rs | 2 use crate::include::bindings::bindings::pt_regs; 6 pub fn user_mode(regs: *const pt_regs) -> bool { in user_mode()
|
/DragonOS-0.1.8/kernel/src/process/ |
D | ptrace.h | 5 struct pt_regs struct 39 static inline int user_mode(struct pt_regs *regs) in user_mode() argument
|
D | fork.c | 19 uint64_t stack_size, struct pt_regs *current_regs); 35 unsigned long do_fork(struct pt_regs *regs, unsigned long clone_flags, unsigned long stack_start, in do_fork() 201 static int process_rewrite_rbp(struct pt_regs *new_regs, struct process_control_block *new_pcb) in process_rewrite_rbp() 243 uint64_t stack_size, struct pt_regs *current_regs) in process_copy_thread() 250 struct pt_regs *child_regs = NULL; in process_copy_thread() 257 child_regs = (struct pt_regs *)(((uint64_t)pcb) + STACK_SIZE - size); in process_copy_thread() 266 child_regs = (struct pt_regs *)((uint64_t)pcb + STACK_SIZE - sizeof(struct pt_regs)); in process_copy_thread() 267 memcpy(child_regs, current_regs, sizeof(struct pt_regs)); in process_copy_thread()
|
D | process.c | 51 …ve(const char *filename, const char *const argv[], const char *const envp[], struct pt_regs *regs); 52 extern uint64_t rs_exec_init_process(struct pt_regs *regs); 201 struct pt_regs *regs; in initial_kernel_thread() 206 current_pcb->thread->rsp = (ul)current_pcb + STACK_SIZE - sizeof(struct pt_regs); in initial_kernel_thread() 216 regs = (struct pt_regs *)current_pcb->thread->rsp; in initial_kernel_thread() 279 struct pt_regs regs; in kernel_thread()
|
D | process.h | 88 unsigned long do_fork(struct pt_regs *regs, unsigned long clone_flags, unsigned long stack_start,
|
/DragonOS-0.1.8/kernel/src/driver/interrupt/8259A/ |
D | 8259A.h | 30 void do_IRQ(struct pt_regs* rsp, ul number);
|
D | 8259A.c | 45 void do_IRQ(struct pt_regs *regs, ul number) in do_IRQ()
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/ |
D | syscall.rs | 10 pt_regs, set_system_trap_gate, CLONE_FS, CLONE_SIGNAL, CLONE_VM, USER_CS, USER_DS, 24 fn do_fork(regs: *mut pt_regs, clone_flags: u64, stack_start: u64, stack_size: u64) -> u64; in do_fork() argument 38 pub extern "C" fn syscall_handler(regs: &mut pt_regs) -> () { in syscall_handler() argument 131 regs: &mut pt_regs, in rs_do_execve() argument 164 pub extern "C" fn rs_exec_init_process(regs: &mut pt_regs) -> usize { in rs_exec_init_process() 181 regs: &mut pt_regs, in tmp_rs_execve() argument
|
D | x86_64_ipi.h | 44 void (*handler)(uint64_t irq_num, uint64_t param, struct pt_regs *regs),
|
D | x86_64_ipi.c | 39 void (*handler)(uint64_t irq_num, uint64_t param, struct pt_regs *regs), in ipi_regiserIPI()
|
/DragonOS-0.1.8/kernel/src/debug/traceback/ |
D | traceback.h | 17 void traceback(struct pt_regs * regs);
|
D | traceback.c | 34 void traceback(struct pt_regs *regs) in traceback()
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci_irq.h | 4 uint16_t c_irq_install(ul irq_num,void (*pci_irq_handler)(ul irq_num, ul parameter, struct pt_regs …
|
D | pci_irq.c | 28 uint16_t c_irq_install(ul irq_num,void (*pci_irq_handler)(ul irq_num, ul parameter, struct pt_regs … in c_irq_install()
|
/DragonOS-0.1.8/kernel/src/smp/ |
D | ipi.h | 38 void (*handler)(uint64_t irq_num, uint64_t param, struct pt_regs *regs),
|
D | smp.c | 16 static void __smp_kick_cpu_handler(uint64_t irq_num, uint64_t param, struct pt_regs *regs); 17 static void __smp__flush_tlb_ipi_handler(uint64_t irq_num, uint64_t param, struct pt_regs *regs); 230 static void __smp_kick_cpu_handler(uint64_t irq_num, uint64_t param, struct pt_regs *regs) in __smp_kick_cpu_handler() 237 static void __smp__flush_tlb_ipi_handler(uint64_t irq_num, uint64_t param, struct pt_regs *regs) in __smp__flush_tlb_ipi_handler()
|
/DragonOS-0.1.8/docs/kernel/debug/ |
D | traceback.md | 11 ### `void traceback(struct pt_regs * regs)`
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | signal.rs | 15 pid_t, process_control_block, process_do_exit, process_find_pcb_by_pid, pt_regs, 390 pub extern "C" fn do_signal(regs: &mut pt_regs) { in do_signal() argument 427 _regs: pt_regs, in get_signal_to_deliver() argument 583 regs: &mut pt_regs, in handle_signal() argument 601 regs: &mut pt_regs, in setup_frame() argument 691 fn get_stack(_ka: &sigaction, regs: &pt_regs, size: usize) -> *mut sigframe { in get_stack() argument 727 regs: &pt_regs, in setup_sigcontext() argument 746 fn restore_sigcontext(context: *const sigcontext, regs: &mut pt_regs) -> bool { in restore_sigcontext() 870 pub fn sys_rt_sigreturn(regs: &mut pt_regs) -> u64 { in sys_rt_sigreturn()
|
/DragonOS-0.1.8/kernel/src/driver/interrupt/apic/ |
D | apic_timer.c | 90 void apic_timer_handler(uint64_t number, uint64_t param, struct pt_regs *regs) in apic_timer_handler()
|
/DragonOS-0.1.8/kernel/src/driver/timers/HPET/ |
D | HPET.c | 64 void HPET_handler(uint64_t number, uint64_t param, struct pt_regs *regs) in HPET_handler() 105 void HPET_measure_handler(uint64_t number, uint64_t param, struct pt_regs *regs) in HPET_measure_handler()
|
/DragonOS-0.1.8/kernel/src/driver/disk/ |
D | ata.c | 14 void ata_disk_handler(ul irq_num, ul param, struct pt_regs *regs) in ata_disk_handler()
|
/DragonOS-0.1.8/kernel/src/driver/keyboard/ |
D | ps2_keyboard.c | 144 void ps2_keyboard_handler(ul irq_num, ul buf_vaddr, struct pt_regs *regs) in ps2_keyboard_handler()
|
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.2.md | 259 * new: 增加判断pt_regs是否来自用户态的函数 263 * 将原有的判断pt_regs是否来自用户态的代码,统一改为调用user_mode函数
|