summaryrefslogtreecommitdiff
path: root/src/arch/sparc/isa.cc
diff options
context:
space:
mode:
authorKhalique <khalique913@gmail.com>2018-02-22 13:19:40 -0600
committerKhalique Ahmed <khalique913@gmail.com>2018-02-24 00:28:29 +0000
commite83f27eb31144439f832c79bb380e69e957d2949 (patch)
treea16fdce1e4a26e73ce72d0312834041fe100d1fc /src/arch/sparc/isa.cc
parent38a1e23c3910aa10c41478ba1715f50c4b4a8ac2 (diff)
downloadgem5-e83f27eb31144439f832c79bb380e69e957d2949.tar.xz
sparc: Fix FS Checkpoint loading
Proposed changes to SPARC FS simulation, testing indicates that checkpoints are now loaded correctly with the following command: build/SPARC/gem5.opt configs/example/fs.py -r 1 Change-Id: Icd44f01a74c41a78828ef6fd7b661e584bdb6966 Reviewed-on: https://gem5-review.googlesource.com/8581 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/arch/sparc/isa.cc')
-rw-r--r--src/arch/sparc/isa.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/sparc/isa.cc b/src/arch/sparc/isa.cc
index b8906e95f..f6b941e2d 100644
--- a/src/arch/sparc/isa.cc
+++ b/src/arch/sparc/isa.cc
@@ -654,12 +654,12 @@ ISA::serialize(CheckpointOut &cp) const
SERIALIZE_ARRAY(tstate,MaxTL);
SERIALIZE_ARRAY(tt,MaxTL);
SERIALIZE_SCALAR(tba);
- SERIALIZE_SCALAR((uint16_t)pstate);
+ SERIALIZE_SCALAR(pstate);
SERIALIZE_SCALAR(tl);
SERIALIZE_SCALAR(pil);
SERIALIZE_SCALAR(cwp);
SERIALIZE_SCALAR(gl);
- SERIALIZE_SCALAR((uint64_t)hpstate);
+ SERIALIZE_SCALAR(hpstate);
SERIALIZE_ARRAY(htstate,MaxTL);
SERIALIZE_SCALAR(hintp);
SERIALIZE_SCALAR(htba);