From b90f810575679442d78c0e9cd0c98a057ba4871b Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Tue, 28 Oct 2003 12:55:12 -0800 Subject: Revamp serialization to make it easier. --HG-- extra : convert_revision : c57a538d7cf606dbdf5fa244f92da46bd830e335 --- dev/alpha_access.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'dev/alpha_access.h') 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 +#include +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__ -- cgit v1.2.3