/DragonOS-0.1.3/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.c | 152 …(ul irq_num, void *arg, void (*handler)(ul irq_num, ul parameter, struct pt_regs *regs), ul parama… in irq_register()
|
/DragonOS-0.1.3/kernel/src/syscall/ |
D | syscall.c | 38 ul system_call_not_exists(struct pt_regs *regs) in system_call_not_exists() 57 ul system_call_function(struct pt_regs *regs) in system_call_function() 119 ul sys_put_string(struct pt_regs *regs) in sys_put_string() 136 uint64_t sys_close(struct pt_regs *regs) in sys_close() 153 uint64_t sys_read(struct pt_regs *regs) in sys_read() 205 uint64_t sys_write(struct pt_regs *regs) in sys_write() 257 uint64_t sys_lseek(struct pt_regs *regs) in sys_lseek() 281 uint64_t sys_fork(struct pt_regs *regs) in sys_fork() 285 uint64_t sys_vfork(struct pt_regs *regs) in sys_vfork() 299 uint64_t sys_brk(struct pt_regs *regs) in sys_brk() [all …]
|
D | syscall.h | 20 #define SYSCALL_FROM_USER(regs) (user_mode(regs)) argument 22 #define SYSCALL_FROM_KERNEL(regs) (!SYSCALL_FROM_USER(regs)) argument
|
/DragonOS-0.1.3/docs/kernel/debug/ |
D | traceback.md | 13 #### 作用 17 #### 参数 19 ##### regs l4subsection
|
/DragonOS-0.1.3/kernel/src/driver/interrupt/8259A/ |
D | 8259A.c | 45 void do_IRQ(struct pt_regs *regs, ul number) in do_IRQ()
|
/DragonOS-0.1.3/kernel/src/debug/traceback/ |
D | traceback.c | 34 void traceback(struct pt_regs *regs) in traceback()
|
/DragonOS-0.1.3/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.3/kernel/src/process/ |
D | process.c | 177 static int process_load_elf_file(struct pt_regs *regs, char *path) in process_load_elf_file() 364 ul do_execve(struct pt_regs *regs, char *path, char *argv[], char *envp[]) in do_execve() 512 struct pt_regs *regs; in initial_kernel_thread() local 590 struct pt_regs regs; in kernel_thread() local
|
D | fork.c | 32 unsigned long do_fork(struct pt_regs *regs, unsigned long clone_flags, unsigned long stack_start, in do_fork()
|
D | ptrace.h | 39 static inline int user_mode(struct pt_regs *regs) in user_mode()
|
/DragonOS-0.1.3/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.3/kernel/src/driver/interrupt/apic/ |
D | apic_timer.c | 74 void apic_timer_handler(uint64_t number, uint64_t param, struct pt_regs *regs) in apic_timer_handler()
|
/DragonOS-0.1.3/kernel/src/arch/x86_64/ |
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.3/kernel/src/mm/ |
D | mm-stat.c | 185 uint64_t sys_mstat(struct pt_regs *regs) in sys_mstat()
|
/DragonOS-0.1.3/kernel/src/filesystem/vfs/ |
D | VFS.c | 356 uint64_t sys_mkdir(struct pt_regs *regs) in sys_mkdir() 535 uint64_t sys_open(struct pt_regs *regs) in sys_open() 861 uint64_t sys_unlink_at(struct pt_regs *regs) in sys_unlink_at()
|
/DragonOS-0.1.3/kernel/src/time/ |
D | timer.c | 126 uint64_t sys_clock(struct pt_regs *regs) in sys_clock()
|
/DragonOS-0.1.3/kernel/src/driver/keyboard/ |
D | ps2_keyboard.c | 145 void ps2_keyboard_handler(ul irq_num, ul buf_vaddr, struct pt_regs *regs) in ps2_keyboard_handler()
|
/DragonOS-0.1.3/kernel/src/driver/mouse/ |
D | ps2_mouse.c | 56 void ps2_mouse_handler(ul irq_num, ul param, struct pt_regs *regs) in ps2_mouse_handler()
|
/DragonOS-0.1.3/kernel/src/ipc/ |
D | pipe.c | 135 uint64_t sys_pipe(struct pt_regs *regs) in sys_pipe()
|
D | signal_types.rs | 651 pub regs: pt_regs, // 暂存的系统调用/中断返回时,原本要弹出的内核栈帧 field
|
/DragonOS-0.1.3/kernel/src/driver/usb/xhci/ |
D | xhci.c | 665 void xhci_hc_irq_handler(uint64_t irq_num, uint64_t cid, struct pt_regs *regs) in xhci_hc_irq_handler()
|