Skip to content

Commit

Permalink
Merge pull request #16 from vdonnefort/esr-for-el2
Browse files Browse the repository at this point in the history
esr: Add HVC and SMC ECs for ESR_EL2
  • Loading branch information
qwandor authored Sep 13, 2022
2 parents fdc2c9c + 0a4bf91 commit f98eb9b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/esr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,16 @@ pub fn decode(esr: u64) -> Result<Vec<FieldInfo>, DecodeError> {
decode_iss_hvc(iss.value)?,
None,
),
0b010110 => (
"HVC instruction execution in AArch64 state",
decode_iss_hvc(iss.value)?,
None,
),
0b010111 => (
"SMC instruction execution in AArch64 state",
decode_iss_hvc(iss.value)?,
None,
),
0b011000 => {
let (subfields, description) = decode_iss_msr(iss.value)?;
(
Expand Down

0 comments on commit f98eb9b

Please sign in to comment.