From: Gabe Black Date: Mon, 4 Nov 2019 23:48:52 +0000 (-0800) Subject: arm: Stop serializing ISA values wihch are cached from the system. X-Git-Tag: v19.0.0.0~266 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97a6a64f286fb07557843d88776fbc69606b9d88;p=gem5.git arm: Stop serializing ISA values wihch are cached from the system. These values are not really part of the ISA state and could be retrieved from the system during execution. Also these values are already being set in the ISA constructor. Change-Id: Iea5f9bbb27add4ecebc6391da6c1c1e49e76508f Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22543 Reviewed-by: Giacomo Travaglini Maintainer: Giacomo Travaglini Tested-by: kokoro --- diff --git a/src/arch/arm/isa.hh b/src/arch/arm/isa.hh index ff889fa7d..fea372ed4 100644 --- a/src/arch/arm/isa.hh +++ b/src/arch/arm/isa.hh @@ -693,39 +693,20 @@ namespace ArmISA static void zeroSveVecRegUpperPart(VecRegContainer &vc, unsigned eCount); - void serialize(CheckpointOut &cp) const + void + serialize(CheckpointOut &cp) const { DPRINTF(Checkpoint, "Serializing Arm Misc Registers\n"); SERIALIZE_ARRAY(miscRegs, NUM_PHYS_MISCREGS); - - SERIALIZE_SCALAR(highestELIs64); - SERIALIZE_SCALAR(haveSecurity); - SERIALIZE_SCALAR(haveLPAE); - SERIALIZE_SCALAR(haveVirtualization); - SERIALIZE_SCALAR(haveLargeAsid64); - SERIALIZE_SCALAR(physAddrRange); - SERIALIZE_SCALAR(haveSVE); - SERIALIZE_SCALAR(sveVL); - SERIALIZE_SCALAR(haveLSE); - SERIALIZE_SCALAR(havePAN); } - void unserialize(CheckpointIn &cp) + + void + unserialize(CheckpointIn &cp) { DPRINTF(Checkpoint, "Unserializing Arm Misc Registers\n"); UNSERIALIZE_ARRAY(miscRegs, NUM_PHYS_MISCREGS); CPSR tmp_cpsr = miscRegs[MISCREG_CPSR]; updateRegMap(tmp_cpsr); - - UNSERIALIZE_SCALAR(highestELIs64); - UNSERIALIZE_SCALAR(haveSecurity); - UNSERIALIZE_SCALAR(haveLPAE); - UNSERIALIZE_SCALAR(haveVirtualization); - UNSERIALIZE_SCALAR(haveLargeAsid64); - UNSERIALIZE_SCALAR(physAddrRange); - UNSERIALIZE_SCALAR(haveSVE); - UNSERIALIZE_SCALAR(sveVL); - UNSERIALIZE_SCALAR(haveLSE); - UNSERIALIZE_SCALAR(havePAN); } void startup(ThreadContext *tc);