summaryrefslogtreecommitdiff
path: root/src/dev/sparc/dtod.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2007-01-28 10:26:59 -0800
committerNathan Binkert <binkertn@umich.edu>2007-01-28 10:26:59 -0800
commit37795b104d93a48b319074fbef770d88820d554a (patch)
treeadb7bdddc656a667ecb84609caebd2a86defb2ee /src/dev/sparc/dtod.hh
parentf9a341f8e7871135e52d208c65185c96c1e51de5 (diff)
downloadgem5-37795b104d93a48b319074fbef770d88820d554a.tar.xz
Stick the conversion of python to unix time with all of
the other param code so that other functions can use it as well. --HG-- extra : convert_revision : a8becdeadc70af0b64bff5b0770788dfba6e1857
Diffstat (limited to 'src/dev/sparc/dtod.hh')
-rw-r--r--src/dev/sparc/dtod.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dev/sparc/dtod.hh b/src/dev/sparc/dtod.hh
index 7d3a9f628..26d4ecc08 100644
--- a/src/dev/sparc/dtod.hh
+++ b/src/dev/sparc/dtod.hh
@@ -36,6 +36,8 @@
#ifndef __DEV_SPARC_DTOD_HH__
#define __DEV_SPARC_DTOD_HH__
+#include <vector>
+
#include "base/range.hh"
#include "dev/io_device.hh"
@@ -52,7 +54,7 @@ class DumbTOD : public BasicPioDevice
public:
struct Params : public BasicPioDevice::Params
{
- time_t init_time;
+ std::vector<int> init_time;
};
protected:
const Params *params() const { return (const Params *)_params; }