diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2010-11-19 18:01:01 -0600 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2010-11-19 18:01:01 -0600 |
commit | 34a8e37c1319dc19c10d239834030793733dc475 (patch) | |
tree | 7cb543ca445438e2ddcb7d83625758b0a191ed7f /src/sim/system.hh | |
parent | 5c6f4a0f17f1f74bf913ce49f14517084949b8ed (diff) | |
download | gem5-34a8e37c1319dc19c10d239834030793733dc475.tar.xz |
SE: Fix simulating more than 4GB of RAM in SE mode
This change removes some dead code in PhysicalMemory, uses a 64 bit type
for the page pointer in System (instead of 32 bit) and cleans up some style.
Diffstat (limited to 'src/sim/system.hh')
-rw-r--r-- | src/sim/system.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sim/system.hh b/src/sim/system.hh index 452446623..cdf7d3d7e 100644 --- a/src/sim/system.hh +++ b/src/sim/system.hh @@ -137,15 +137,15 @@ class System : public SimObject #else - int page_ptr; + Addr pagePtr; protected: - uint64_t next_PID; + uint64_t nextPID; public: uint64_t allocatePID() { - return next_PID++; + return nextPID++; } /** Amount of physical memory that is still free */ |