summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-03-10 18:26:12 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-03-10 18:26:12 -0500
commite3651fde0b2c8a12a26cfb5b22b1944a47d59f4d (patch)
treefa16b0fa4afb256703fd713969f1fd02da54c3cb /sim
parent731ea068abcfd93d31bd5df6a2851387b40983d8 (diff)
downloadgem5-e3651fde0b2c8a12a26cfb5b22b1944a47d59f4d.tar.xz
Moved MaxAddr.
sim/host.hh: Moved MaxAddr from arch to here, since it depends only on the Addr type. --HG-- extra : convert_revision : e5eaa0bfbe2a376b0d309c517687b3d9d63e407f
Diffstat (limited to 'sim')
-rw-r--r--sim/host.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/host.hh b/sim/host.hh
index f7e64f23c..48c977331 100644
--- a/sim/host.hh
+++ b/sim/host.hh
@@ -62,4 +62,6 @@ typedef int64_t Tick;
*/
typedef uint64_t Addr;
+const Addr MaxAddr = (Addr)-1;
+
#endif // __HOST_H__