Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/kprobe/src/arch/rv64/
H A Dmod.rs56 OpcodeTy::Inst16(inst_16) => unsafe { in drop()
57 core::ptr::write(address as *mut u16, inst_16); in drop()
91 let inst_16 = unsafe { core::ptr::read(address as *const u16) }; in replace_inst() localVariable
93 let is_inst_16 = if (inst_16 & INSN_LENGTH_MASK) == INSN_LENGTH_32 { in replace_inst()
105 point.old_instruction = OpcodeTy::Inst16(inst_16); in replace_inst()
110 core::ptr::write(inst_tmp_ptr as *mut u16, inst_16); in replace_inst()