diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2012-01-09 18:08:20 -0600 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2012-01-09 18:08:20 -0600 |
commit | c2dbfc1d6ca677f9b6fb8eaa60e4003a903e26bd (patch) | |
tree | 1835c4773d4f647f337fa40cecb8cbff48a0fb9e /src/cpu/testers/directedtest/RubyDirectedTester.hh | |
parent | 4b772782871f265cf7372c984ad750803396938c (diff) | |
download | gem5-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/RubyDirectedTester.hh')
-rw-r--r-- | src/cpu/testers/directedtest/RubyDirectedTester.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/testers/directedtest/RubyDirectedTester.hh b/src/cpu/testers/directedtest/RubyDirectedTester.hh index 163c206d8..53c389692 100644 --- a/src/cpu/testers/directedtest/RubyDirectedTester.hh +++ b/src/cpu/testers/directedtest/RubyDirectedTester.hh @@ -53,11 +53,11 @@ class RubyDirectedTester : public MemObject RubyDirectedTester *tester; public: - CpuPort(const std::string &_name, RubyDirectedTester *_tester, uint _idx) + CpuPort(const std::string &_name, RubyDirectedTester *_tester, uint32_t _idx) : SimpleTimingPort(_name, _tester), tester(_tester), idx(_idx) {} - uint idx; + uint32_t idx; protected: virtual bool recvTiming(PacketPtr pkt); |