From 9364d35b8bce516459be09bb13891600921e9e6e Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Mon, 7 Jan 2013 13:05:39 -0500 Subject: dev: Do not serialize timer parameters This patch removes the intNum and clock from the serialized scalars as these are set by the Python parameters and should not be part of the checkpoint. --- src/dev/arm/timer_sp804.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dev/arm/timer_sp804.hh') diff --git a/src/dev/arm/timer_sp804.hh b/src/dev/arm/timer_sp804.hh index 9f137001d..745cb95e3 100644 --- a/src/dev/arm/timer_sp804.hh +++ b/src/dev/arm/timer_sp804.hh @@ -83,10 +83,10 @@ class Sp804 : public AmbaDevice Sp804 *parent; /** Number of interrupt to cause/clear */ - uint32_t intNum; + const uint32_t intNum; /** Number of ticks in a clock input */ - Tick clock; + const Tick clock; /** Control register as specified above */ CTRL control; -- cgit v1.2.3