Home
last modified time | relevance | path

Searched refs:set_system_trap_gate (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/arch/x86_64/syscall/
H A Dmod.rs18 interrupt::{entry::set_system_trap_gate, TrapFrame},
131 unsafe { set_system_trap_gate(0x80, 0, VirtAddr::new(syscall_int as usize)) }; // 系统调用门 in arch_syscall_init()
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dtrap.rs5 entry::{set_intr_gate, set_system_trap_gate},
87 set_system_trap_gate(3, 0, VirtAddr::new(trap_int3 as usize)); in arch_trap_init()
88 set_system_trap_gate(4, 0, VirtAddr::new(trap_overflow as usize)); in arch_trap_init()
89 set_system_trap_gate(5, 0, VirtAddr::new(trap_bounds as usize)); in arch_trap_init()
H A Dentry.rs561 pub unsafe fn set_system_trap_gate(irq: u32, ist: u8, vaddr: VirtAddr) { in set_system_trap_gate() function