From b299740e655cb64d630aa72934dc47375f68910c Mon Sep 17 00:00:00 2001 From: Chuan Zhu Date: Mon, 15 Jan 2018 22:38:06 +0000 Subject: [PATCH] arch-arm: Fix FPEXC32_EL2 to FPEXC mapping The mapping between MISCREG_FPEXC32_EL2 and MISCREG_FPEXC was missing, this patch adds the mapping. Change-Id: I2e7fa0456b73662ff9f950deb5c7e648a1bdd9ca Reviewed-by: Nikos Nikoleris Reviewed-on: https://gem5-review.googlesource.com/10043 Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- src/arch/arm/miscregs.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/arm/miscregs.cc b/src/arch/arm/miscregs.cc index 81ce43e29..b5ae4ced2 100644 --- a/src/arch/arm/miscregs.cc +++ b/src/arch/arm/miscregs.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2013, 2015-2017 ARM Limited + * Copyright (c) 2010-2013, 2015-2018 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall @@ -3601,7 +3601,7 @@ ISA::initializeMiscRegMetadata() .hyp().mon() .mapsTo(MISCREG_HSR); InitReg(MISCREG_FPEXC32_EL2) - .hyp().mon(); + .hyp().mon().mapsTo(MISCREG_FPEXC); InitReg(MISCREG_AFSR0_EL3) .mon(); InitReg(MISCREG_AFSR1_EL3) -- 2.30.2