arch-arm: Fix minor bug PAUTH comparision with 0
Change-Id: I887e5fa256a8c9cc24f7b9ef1fc0353dea555e82 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30615 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
This commit is contained in:
@@ -706,7 +706,7 @@ ArmISA::addPACGA(ThreadContext * tc, uint64_t X, uint64_t Y, uint64_t* out)
|
||||
{
|
||||
case EL0:
|
||||
trapEL2 = (EL2Enabled(tc) && hcr.api == 0 &&
|
||||
(hcr.tge == '0' || hcr.e2h == 0));
|
||||
(hcr.tge == 0 || hcr.e2h == 0));
|
||||
trapEL3 = have_el3 && sc3.api == 0;
|
||||
break;
|
||||
case EL1:
|
||||
|
||||
Reference in New Issue
Block a user