fastmodel: Fix compilation errors
authorChun-Chen TK Hsu <chunchenhsu@google.com>
Mon, 30 Dec 2019 08:23:40 +0000 (16:23 +0800)
committerChun-Chen TK Hsu <chunchenhsu@google.com>
Mon, 30 Dec 2019 22:41:58 +0000 (22:41 +0000)
commitab049c87c9c85b5d1b6d6a99c81858534cc9f869
treef6b1d8987e1e1d4707686fbc94842f5853bfa483
parent31f376f482cfe2bda130de732f86b1181feea2cd
fastmodel: Fix compilation errors

This changes fixes two compilation errors when compiling with
FastModels. One is that CurrentMsn should be Iris::CurrentMsn and the
other is that currEL() function needs arch/arm/utility.hh header file.

Test by compiling GEM5 with FastModels:
scons -j64 build/ARM/gem5.opt \
  USE_ARM_FASTMODEL=1     \
  PVLIB_HOME=...          \
  MAXCORE_HOME=...        \
  ARMLMD_LICENSE_FILE=... \

Change-Id: Iabe0a5f25246591f99b57219428b8f87ecd3363c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23924
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
src/arch/arm/fastmodel/CortexA76/thread_context.cc