diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2003-10-28 12:55:12 -0800 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2003-10-28 12:55:12 -0800 |
commit | b90f810575679442d78c0e9cd0c98a057ba4871b (patch) | |
tree | 8882e14d0f8cbee6f7c630ecb2408b62974a32d2 /dev/alpha_access.h | |
parent | cec7f73abf841a65bdce38d6eb67a643e4879335 (diff) | |
download | gem5-b90f810575679442d78c0e9cd0c98a057ba4871b.tar.xz |
Revamp serialization to make it easier.
--HG--
extra : convert_revision : c57a538d7cf606dbdf5fa244f92da46bd830e335
Diffstat (limited to 'dev/alpha_access.h')
-rw-r--r-- | dev/alpha_access.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dev/alpha_access.h b/dev/alpha_access.h index ef33633e5..4bba39c4f 100644 --- a/dev/alpha_access.h +++ b/dev/alpha_access.h @@ -41,6 +41,11 @@ typedef uint64 UINT64; #else typedef uint32_t UINT32; typedef uint64_t UINT64; + +#include <ostream> +#include <string> +class IniFile; + #endif // This structure hacked up from simos @@ -74,6 +79,11 @@ struct AlphaAccess UINT64 bootStrapImpure; // 70: UINT32 bootStrapCPU; // 78: UINT32 align2; // 7C: Dummy placeholder for alignment + +#ifndef CONSOLE + void serialize(std::ostream &os); + void unserialize(IniFile &db, const std::string §ion); +#endif }; #endif // __ALPHA_ACCESS_H__ |