diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 22:39:10 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 22:39:10 -0700 |
commit | a1ea10d7bac34f022598f82873723e2dfee58625 (patch) | |
tree | 0c947f5b98bf86165e37c4cb9ff7c540eb0aaf5b /src/mem/ruby/libruby.hh | |
parent | 70251bbb1a71f9debc2ac5137cc6ae84f58fa962 (diff) | |
parent | c438b2e431066d9324238e1c678ef68a3b721f33 (diff) | |
download | gem5-a1ea10d7bac34f022598f82873723e2dfee58625.tar.xz |
Merge with head.
Diffstat (limited to 'src/mem/ruby/libruby.hh')
-rw-r--r-- | src/mem/ruby/libruby.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mem/ruby/libruby.hh b/src/mem/ruby/libruby.hh index 3b6e19c41..a73ff5cf4 100644 --- a/src/mem/ruby/libruby.hh +++ b/src/mem/ruby/libruby.hh @@ -31,10 +31,11 @@ struct RubyRequest { uint64_t pc; RubyRequestType type; RubyAccessMode access_mode; + unsigned proc_id; RubyRequest() {} - RubyRequest(uint64_t _paddr, uint8_t* _data, int _len, uint64_t _pc, RubyRequestType _type, RubyAccessMode _access_mode) - : paddr(_paddr), data(_data), len(_len), pc(_pc), type(_type), access_mode(_access_mode) + RubyRequest(uint64_t _paddr, uint8_t* _data, int _len, uint64_t _pc, RubyRequestType _type, RubyAccessMode _access_mode, unsigned _proc_id = 0) + : paddr(_paddr), data(_data), len(_len), pc(_pc), type(_type), access_mode(_access_mode), proc_id(_proc_id) {} }; |