Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/kprobe/src/arch/loongarch64/
H A Dmod.rs8 const EBREAK_INST: u32 = 0x002a0000; constant
81 core::ptr::write(address as *mut u32, EBREAK_INST); in replace_inst()
85 core::ptr::write((inst_tmp_ptr + 4) as *mut u32, EBREAK_INST); in replace_inst()
/DragonOS/kernel/crates/kprobe/src/arch/rv64/
H A Dmod.rs9 const EBREAK_INST: u32 = 0x00100073; // ebreak constant
117 core::ptr::write(address as *mut u32, EBREAK_INST); in replace_inst()
121 core::ptr::write((inst_tmp_ptr + 4) as *mut u32, EBREAK_INST); in replace_inst()
/DragonOS/kernel/crates/kprobe/src/arch/x86/
H A Dmod.rs10 const EBREAK_INST: u8 = 0xcc; // x86_64: 0xcc constant
104 core::ptr::write_volatile(address as *mut u8, EBREAK_INST); in replace_inst()