Home
last modified time | relevance | path

Searched refs:inst_tmp_ptr (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/crates/kprobe/src/arch/loongarch64/
H A Dmod.rs44 let inst_tmp_ptr = self.inst_tmp.as_ptr() as usize; in drop() localVariable
45 let inst_32 = unsafe { core::ptr::read(inst_tmp_ptr as *const u32) }; in drop()
78 let inst_tmp_ptr = point.inst_tmp.as_ptr() as usize; in replace_inst() localVariable
84 core::ptr::write(inst_tmp_ptr as *mut u32, inst_32); 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.rs103 let inst_tmp_ptr = point.inst_tmp.as_ptr() as usize; in replace_inst() localVariable
110 core::ptr::write(inst_tmp_ptr as *mut u16, inst_16); in replace_inst()
111 core::ptr::write((inst_tmp_ptr + 2) as *mut u16, C_EBREAK_INST as u16); in replace_inst()
120 core::ptr::write(inst_tmp_ptr as *mut u32, inst_32); in replace_inst()
121 core::ptr::write((inst_tmp_ptr + 4) as *mut u32, EBREAK_INST); in replace_inst()