diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-01-28 14:46:56 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-01-28 14:46:56 -0500 |
commit | 91ca1b48e29dc8a5edcd57bf03ed9737b5de0661 (patch) | |
tree | 9a2db053cba40110ae69a2444b061c3d5ea8bdef /src/sim/host.hh | |
parent | 0358ccee23072eef0b6448e3170457037682a452 (diff) | |
parent | 37795b104d93a48b319074fbef770d88820d554a (diff) | |
download | gem5-91ca1b48e29dc8a5edcd57bf03ed9737b5de0661.tar.xz |
Merge zizzer:/bk/newmem
into zower.eecs.umich.edu:/eecshome/m5/newmem
--HG--
extra : convert_revision : 2398e48722dd71ddf270e93bd7b387078fb30e6b
Diffstat (limited to 'src/sim/host.hh')
-rw-r--r-- | src/sim/host.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sim/host.hh b/src/sim/host.hh index 8b1ddbfe7..93a5fe7f2 100644 --- a/src/sim/host.hh +++ b/src/sim/host.hh @@ -38,6 +38,8 @@ #define __HOST_HH__ #include <inttypes.h> +#include <limits> + /** uint64_t constant */ #define ULL(N) ((uint64_t)N##ULL) @@ -56,7 +58,7 @@ typedef int64_t Counter; */ typedef int64_t Tick; -const Tick MaxTick = (1LL << 63) - 1; +const Tick MaxTick = std::numeric_limits<Tick>::max(); /** * Address type |