#[repr(C)]pub struct _ocsd_instr_info {Show 14 fields
pub pe_type: ocsd_arch_profile_t,
pub isa: ocsd_isa,
pub instr_addr: ocsd_vaddr_t,
pub opcode: u32,
pub dsb_dmb_waypoints: u8,
pub wfi_wfe_branch: u8,
pub type_: ocsd_instr_type,
pub branch_addr: ocsd_vaddr_t,
pub next_isa: ocsd_isa,
pub instr_size: u8,
pub is_conditional: u8,
pub is_link: u8,
pub thumb_it_conditions: u8,
pub sub_type: ocsd_instr_subtype,
}Expand description
Instruction decode request structure.
Used in IInstrDecode interface.
Caller fills in the input: information, callee then fills in the decoder: information.
Fields§
§pe_type: ocsd_arch_profile_t< input: Core Arch and profile
isa: ocsd_isa< Input: Current ISA.
instr_addr: ocsd_vaddr_t< Input: Instruction address.
opcode: u32< Input: Opcode at address. 16 bit opcodes will use MS 16bits of parameter.
dsb_dmb_waypoints: u8< Input: DMB and DSB are waypoints
wfi_wfe_branch: u8< Input: WFI, WFE classed as direct branches
type_: ocsd_instr_type< Decoder: Current instruction type.
branch_addr: ocsd_vaddr_t< Decoder: Calculated address of branch instrcution (direct branches only)
next_isa: ocsd_isa< Decoder: ISA for next intruction.
instr_size: u8< Decoder : size of the decoded instruction
is_conditional: u8< Decoder : set to 1 if this instruction is conditional
is_link: u8< Decoder : is a branch with link instruction
thumb_it_conditions: u8< Decoder : return number of following instructions set with conditions by this Thumb IT instruction
sub_type: ocsd_instr_subtype< Decoder : current instruction sub-type if known
Trait Implementations§
Source§impl Clone for _ocsd_instr_info
impl Clone for _ocsd_instr_info
Source§fn clone(&self) -> _ocsd_instr_info
fn clone(&self) -> _ocsd_instr_info
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more