VirtualBox

Changeset 99380 in vbox for trunk


Ignore:
Timestamp:
Apr 12, 2023 10:44:55 AM (18 months ago)
Author:
vboxsync
Message:

include/iprt/armv8.h: Fix retrieving the CRm value from the ESR_EL2.ISS field for the ARMV8_ESR_EL2_EC_AARCH64_TRAPPED_SYS_INSN exception class, bugref:10385

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/armv8.h

    r99189 r99380  
    683683#define ARMV8_EC_ISS_AARCH64_TRAPPED_SYS_INSN_CRM               (  RT_BIT_32(1) | RT_BIT_32(2) | RT_BIT_32(3) \
    684684                                                                 | RT_BIT_32(4))
    685 #define ARMV8_EC_ISS_AARCH64_TRAPPED_SYS_INSN_CRM_GET(a_Iss)    (((a_Iss) & ARMV8_EC_ISS_AARCH64_TRAPPED_SYS_INSN_CRM) >> 10)
     685#define ARMV8_EC_ISS_AARCH64_TRAPPED_SYS_INSN_CRM_GET(a_Iss)    (((a_Iss) & ARMV8_EC_ISS_AARCH64_TRAPPED_SYS_INSN_CRM) >> 1)
    686686/** Bit 5 - 9 - Rt value from the instruction. */
    687687#define ARMV8_EC_ISS_AARCH64_TRAPPED_SYS_INSN_RT                (  RT_BIT_32(5) | RT_BIT_32(6) | RT_BIT_32(7) \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette