Giacomo Travaglini has submitted this change and it was merged. ( https://gem5-review.googlesource.com/10381 )

Change subject: arch-arm: Add E2H bit to HCR_EL2 System register
......................................................................

arch-arm: Add E2H bit to HCR_EL2 System register

This patch adds the EL2 Host bit to the HCR_EL2 register.  Enables a
configuration where a Host Operating System is running in EL2, and the
Host Operating System's applications are running in EL0.

Change-Id: I92d21ed9f8958c58f135dca1b6a97460ba4c02f9
Signed-off-by: Giacomo Travaglini <[email protected]>
Reviewed-by: Andreas Sandberg <[email protected]>
Reviewed-on: https://gem5-review.googlesource.com/10381
Maintainer: Andreas Sandberg <[email protected]>
---
M src/arch/arm/miscregs.hh
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Andreas Sandberg: Looks good to me, approved; Looks good to me, approved



diff --git a/src/arch/arm/miscregs.hh b/src/arch/arm/miscregs.hh
index 06d1a0d..b43b04f 100644
--- a/src/arch/arm/miscregs.hh
+++ b/src/arch/arm/miscregs.hh
@@ -1478,6 +1478,7 @@
     EndBitUnion(HSTR)

     BitUnion64(HCR)
+        Bitfield<34>     e2h;   // AArch64
         Bitfield<33>     id;    // AArch64
         Bitfield<32>     cd;    // AArch64
         Bitfield<31>     rw;    // AArch64

--
To view, visit https://gem5-review.googlesource.com/10381
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I92d21ed9f8958c58f135dca1b6a97460ba4c02f9
Gerrit-Change-Number: 10381
Gerrit-PatchSet: 3
Gerrit-Owner: Giacomo Travaglini <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Giacomo Travaglini <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to