diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-05-31 12:14:37 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-05-31 12:14:37 +0100 |
commit | 9d4a42e8c5fd2409922250f63a788a38bdfc2c46 (patch) | |
tree | 68ac46e37c0446d2eb2e02e246e63df7924ae431 /src/arch/arm/ArmPMU.py | |
parent | 44e9b81f7477feec5786de40c60d986e1be74326 (diff) | |
download | gem5-9d4a42e8c5fd2409922250f63a788a38bdfc2c46.tar.xz |
arm: Correctly check translation mode (aarch64/aarch32)
According to the ARM ARM (see AArch32.TranslateAddress in the
pseudocode library), the TLB should be operating in aarch64 mode if
the EL0 is aarch32 and EL1 is aarch64. This is currently not the case
in gem5, which breaks 64/32 interprocessing. Update the check to match
the reference manual.
Change-Id: I6f1444d57c0e2eb5f8880f513f33a9197b7cb2ce
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Mitch Hayenga <mitch.hayenga@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/arch/arm/ArmPMU.py')
0 files changed, 0 insertions, 0 deletions