starry-kernel 0.5.13

A Linux-compatible OS kernel built on ArceOS unikernel
1
2
3
4
5
6
7
8
9
10
#[ax_runtime::hal::cpu::trap::breakpoint_handler]
fn default_breakpoint_handler(tf: &mut ax_runtime::hal::cpu::TrapFrame) -> bool {
    crate::kprobe::handle_breakpoint(tf)
}

#[cfg(target_arch = "x86_64")]
#[ax_runtime::hal::cpu::trap::debug_handler]
fn default_debug_handler(tf: &mut ax_runtime::hal::cpu::TrapFrame) -> bool {
    crate::kprobe::handle_debug(tf)
}