/DragonOS/kernel/src/arch/riscv64/interrupt/ |
H A D | mod.rs | 69 pub struct TrapFrame { struct 70 pub epc: usize, 71 pub ra: usize, 72 pub sp: usize, 73 pub gp: usize, 74 pub tp: usize, 75 pub t0: usize, 76 pub t1: usize, 77 pub t2: usize, 78 pub s0: usize, [all …]
|
H A D | handle.rs | 35 unsafe extern "C" fn riscv64_do_irq(trap_frame: &mut TrapFrame) { in riscv64_do_irq() 44 fn riscv64_do_interrupt(trap_frame: &mut TrapFrame) { in riscv64_do_interrupt() 49 fn riscv64_do_exception(trap_frame: &mut TrapFrame) { in riscv64_do_exception()
|
/DragonOS/kernel/src/arch/x86_64/interrupt/ |
H A D | mod.rs | 109 pub struct TrapFrame { struct 110 pub r15: ::core::ffi::c_ulong, 111 pub r14: ::core::ffi::c_ulong, 112 pub r13: ::core::ffi::c_ulong, 136 impl Default for TrapFrame { argument 142 impl TrapFrame { impl 187 impl ProbeArgs for TrapFrame { implementation
|
H A D | trap.rs | 115 unsafe extern "C" fn do_divide_error(regs: &'static TrapFrame, error_code: u64) { in do_divide_error() 129 unsafe extern "C" fn do_debug(regs: &'static mut TrapFrame, error_code: u64) { in do_debug() 143 unsafe extern "C" fn do_nmi(regs: &'static TrapFrame, error_code: u64) { in do_nmi() 157 unsafe extern "C" fn do_int3(regs: &'static mut TrapFrame, error_code: u64) { in do_int3() 171 unsafe extern "C" fn do_overflow(regs: &'static TrapFrame, error_code: u64) { in do_overflow() 185 unsafe extern "C" fn do_bounds(regs: &'static TrapFrame, error_code: u64) { in do_bounds() 199 unsafe extern "C" fn do_undefined_opcode(regs: &'static TrapFrame, error_code: u64) { in do_undefined_opcode() 213 unsafe extern "C" fn do_dev_not_avaliable(regs: &'static TrapFrame, error_code: u64) { in do_dev_not_avaliable() 227 unsafe extern "C" fn do_double_fault(regs: &'static TrapFrame, error_code: u64) { in do_double_fault() 241 unsafe extern "C" fn do_coprocessor_segment_overrun(regs: &'static TrapFrame, error_code: u64) { in do_coprocessor_segment_overrun() [all …]
|
H A D | handle.rs | 16 unsafe extern "C" fn x86_64_do_irq(trap_frame: &mut TrapFrame, vector: u32) { in x86_64_do_irq()
|
H A D | ipi.rs | 249 fn handle(&self, irq_desc: &Arc<IrqDesc>, _trap_frame: &mut TrapFrame) { in handle()
|
/DragonOS/kernel/src/time/ |
H A D | tick_common.rs | 12 pub fn tick_handle_periodic(trap_frame: &TrapFrame) { in tick_handle_periodic() 18 fn tick_periodic(cpu_id: ProcessorId, trap_frame: &TrapFrame) { in tick_periodic()
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | fault.rs | 71 regs: &'static TrapFrame, in show_fault_oops() 136 regs: &'static TrapFrame, in page_fault_oops() 153 _regs: &'static TrapFrame, in do_kern_addr_fault() 176 regs: &'static TrapFrame, in do_user_addr_fault()
|
/DragonOS/kernel/src/init/ |
H A D | initial_kthread.rs | 121 trap_frame: &mut TrapFrame, in try_to_run_init_process() 141 trap_frame: &mut TrapFrame, in run_init_process()
|
/DragonOS/kernel/src/arch/riscv64/process/ |
H A D | mod.rs | 51 pub unsafe fn arch_switch_to_user(trap_frame: TrapFrame) -> ! { in arch_switch_to_user() 105 current_trapframe: &TrapFrame, in copy_thread() 215 unsafe fn task_trapframe(task: &Arc<ProcessControlBlock>) -> &mut TrapFrame { in task_trapframe() 424 fn save(&mut self, regs: &mut TrapFrame) { in save() 431 fn restore(&mut self, regs: &mut TrapFrame) { in restore() 438 fn do_clean(&mut self, regs: &mut TrapFrame) { in do_clean()
|
H A D | syscall.rs | 13 regs: &mut TrapFrame, in arch_do_execve()
|
/DragonOS/kernel/src/exception/ |
H A D | handle.rs | 50 fn handle(&self, irq_desc: &Arc<IrqDesc>, _trap_frame: &mut TrapFrame) { in handle() 62 fn handle(&self, irq_desc: &Arc<IrqDesc>, _trap_frame: &mut TrapFrame) { in handle() 101 fn handle(&self, irq_desc: &Arc<IrqDesc>, _trap_frame: &mut TrapFrame) { in handle() 364 fn handle(&self, irq_desc: &Arc<IrqDesc>, _trap_frame: &mut TrapFrame) { in handle()
|
H A D | irqdesc.rs | 47 fn handle(&self, irq_desc: &Arc<IrqDesc>, trap_frame: &mut TrapFrame); in handle() 1040 trap_frame: &mut TrapFrame, in handle_domain_irq()
|
/DragonOS/kernel/src/arch/riscv64/syscall/ |
H A D | mod.rs | 31 pub(super) fn syscall_handler(syscall_num: usize, frame: &mut TrapFrame) -> () { in syscall_handler()
|
/DragonOS/kernel/src/arch/x86_64/ |
H A D | kprobe.rs | 3 pub fn setup_single_step(frame: &mut TrapFrame, step_addr: usize) { in setup_single_step() 8 pub fn clear_single_step(frame: &mut TrapFrame, return_addr: usize) { in clear_single_step()
|
/DragonOS/kernel/src/arch/x86_64/ipc/ |
H A D | signal.rs | 359 frame: &TrapFrame, in setup_sigcontext() 409 unsafe extern "C" fn do_signal(frame: &mut TrapFrame) { in do_signal() 417 unsafe fn do_signal(frame: &mut TrapFrame) { in do_signal() 541 frame: &mut TrapFrame, in handle_signal() 557 trap_frame: &mut TrapFrame, in setup_frame() 684 fn get_stack(frame: &TrapFrame, size: usize) -> *mut SigFrame { in get_stack()
|
/DragonOS/kernel/src/arch/riscv64/ |
H A D | kprobe.rs | 3 pub fn setup_single_step(frame: &mut TrapFrame, step_addr: usize) { in setup_single_step() 7 pub fn clear_single_step(frame: &mut TrapFrame, return_addr: usize) { in clear_single_step()
|
/DragonOS/kernel/src/arch/x86_64/syscall/ |
H A D | mod.rs | 67 pub extern "sysv64" fn syscall_handler(frame: &mut TrapFrame) { in syscall_handler()
|
/DragonOS/kernel/src/arch/x86_64/process/ |
H A D | mod.rs | 303 current_trapframe: &TrapFrame, in copy_thread() 509 pub unsafe fn arch_switch_to_user(trap_frame: TrapFrame) -> ! { in arch_switch_to_user() 558 trap_frame: TrapFrame, in ready_to_switch_to_user()
|
H A D | syscall.rs | 19 regs: &mut TrapFrame, in arch_do_execve()
|
/DragonOS/kernel/src/driver/clocksource/ |
H A D | timer_riscv.rs | 134 fn handle(&self, _irq_desc: &Arc<IrqDesc>, trap_frame: &mut TrapFrame) { in handle()
|
/DragonOS/kernel/src/process/ |
H A D | syscall.rs | 107 frame: &mut TrapFrame, in execve() 156 regs: &mut TrapFrame, in do_execve() 281 current_trapframe: &TrapFrame, in clone()
|
H A D | fork.rs | 161 current_trapframe: &TrapFrame, in fork() 346 current_trapframe: &TrapFrame, in copy_process()
|
/DragonOS/kernel/src/driver/irqchip/ |
H A D | riscv_intc.rs | 213 pub fn riscv_intc_irq(trap_frame: &mut TrapFrame) { in riscv_intc_irq()
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | apic_timer.rs | 70 fn handle(&self, _irq_desc: &Arc<IrqDesc>, trap_frame: &mut TrapFrame) { in handle()
|