pub type ocsd_instr_info = _ocsd_instr_info;Expand description
Instruction decode request structure.
Used in IInstrDecode interface.
Caller fills in the input: information, callee then fills in the decoder: information.
Aliased Type§
struct ocsd_instr_info {Show 14 fields
pub pe_type: _ocsd_arch_profile_t,
pub isa: u32,
pub instr_addr: u64,
pub opcode: u32,
pub dsb_dmb_waypoints: u8,
pub wfi_wfe_branch: u8,
pub type_: u32,
pub branch_addr: u64,
pub next_isa: u32,
pub instr_size: u8,
pub is_conditional: u8,
pub is_link: u8,
pub thumb_it_conditions: u8,
pub sub_type: u32,
}Fields§
§pe_type: _ocsd_arch_profile_t< input: Core Arch and profile
isa: u32< Input: Current ISA.
instr_addr: u64< 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_: u32< Decoder: Current instruction type.
branch_addr: u64< Decoder: Calculated address of branch instrcution (direct branches only)
next_isa: u32< 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: u32< Decoder : current instruction sub-type if known