Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/kprobe/src/arch/loongarch64/
H A Dmod.rs45 let inst_32 = unsafe { core::ptr::read(inst_tmp_ptr as *const u32) }; in drop() localVariable
47 core::ptr::write(address as *mut u32, inst_32); in drop()
52 inst_32 in drop()
79 let inst_32 = unsafe { core::ptr::read(address as *const u32) }; in replace_inst() localVariable
84 core::ptr::write(inst_tmp_ptr as *mut u32, inst_32); in replace_inst()
91 inst_32 in replace_inst()
/DragonOS/kernel/crates/kprobe/src/arch/rv64/
H A Dmod.rs59 OpcodeTy::Inst32(inst_32) => unsafe { in drop()
60 core::ptr::write(address as *mut u32, inst_32); in drop()
114 let inst_32 = unsafe { core::ptr::read(address as *const u32) }; in replace_inst() localVariable
115 point.old_instruction = OpcodeTy::Inst32(inst_32); in replace_inst()
120 core::ptr::write(inst_tmp_ptr as *mut u32, inst_32); in replace_inst()