summaryrefslogtreecommitdiff
path: root/src/cpu/testers/directedtest/InvalidateGenerator.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2012-01-09 18:08:20 -0600
committerAndreas Hansson <andreas.hansson@arm.com>2012-01-09 18:08:20 -0600
commitc2dbfc1d6ca677f9b6fb8eaa60e4003a903e26bd (patch)
tree1835c4773d4f647f337fa40cecb8cbff48a0fb9e /src/cpu/testers/directedtest/InvalidateGenerator.hh
parent4b772782871f265cf7372c984ad750803396938c (diff)
downloadgem5-c2dbfc1d6ca677f9b6fb8eaa60e4003a903e26bd.tar.xz
MAC: Make gem5 compile and run on MacOSX 10.7.2
Adaptations to make gem5 compile and run on OSX 10.7.2, with a stock gcc 4.2.1 and the remaining dependencies from macports, i.e. python 2.7,.2 swig 2.0.4, mercurial 2.0. The changes include an adaptation of the SConstruct to handle non-library linker flags, and Darwin-specific code to find the memory usage of gem5. A number of Ruby files relied on ambigious uint (without the 32 suffix) which caused compilation errors.
Diffstat (limited to 'src/cpu/testers/directedtest/InvalidateGenerator.hh')
-rw-r--r--src/cpu/testers/directedtest/InvalidateGenerator.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/testers/directedtest/InvalidateGenerator.hh b/src/cpu/testers/directedtest/InvalidateGenerator.hh
index 14c47b70b..50db180e3 100644
--- a/src/cpu/testers/directedtest/InvalidateGenerator.hh
+++ b/src/cpu/testers/directedtest/InvalidateGenerator.hh
@@ -49,14 +49,14 @@ class InvalidateGenerator : public DirectedGenerator
~InvalidateGenerator();
bool initiate();
- void performCallback(uint proc, Addr address);
+ void performCallback(uint32_t proc, Addr address);
private:
InvalidateGeneratorStatus m_status;
Addr m_address;
- uint m_active_read_node;
- uint m_active_inv_node;
- uint m_addr_increment_size;
+ uint32_t m_active_read_node;
+ uint32_t m_active_inv_node;
+ uint32_t m_addr_increment_size;
};
#endif //__CPU_DIRECTEDTEST_INVALIDATEGENERATOR_HH__