Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/kprobe/src/arch/rv64/
H A Dmod.rs21 enum OpcodeTy { enum
28 old_instruction: OpcodeTy,
56 OpcodeTy::Inst16(inst_16) => unsafe { in drop()
59 OpcodeTy::Inst32(inst_32) => unsafe { in drop()
99 old_instruction: OpcodeTy::Inst16(0), in replace_inst()
105 point.old_instruction = OpcodeTy::Inst16(inst_16); in replace_inst()
115 point.old_instruction = OpcodeTy::Inst32(inst_32); in replace_inst()
141 OpcodeTy::Inst16(_) => address + 2, in return_address()
142 OpcodeTy::Inst32(_) => address + 4, in return_address()
150 OpcodeTy::Inst16(_) => self.inst_tmp.as_ptr() as usize + 2, in debug_address()
[all …]