arch-arm: Add E2H bit to HCR_EL2 System register
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 9 Apr 2018 12:25:46 +0000 (13:25 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 29 May 2018 10:07:53 +0000 (10:07 +0000)
commit2456c917ac654f6b67243c72a47240d22a2bf712
treeb33944bd7588abe957d2acdf01e475db3133707d
parent6925bf55005c118dc2580ba83e0fa10b31839ef9
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 <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/10381
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/miscregs.hh