diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:23 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:23 -0800 |
commit | 45230a4f6b82af61c05fcf93b6e1a9319fcb0a2e (patch) | |
tree | be5514d8ae75df903599758fa2fa86834e9142b1 /src/mem/request.hh | |
parent | 4eb3bfc31b66a6835a398ba2f0a11ea9b78d525d (diff) | |
download | gem5-45230a4f6b82af61c05fcf93b6e1a9319fcb0a2e.tar.xz |
ruby: added the GEMS ruby tester
Diffstat (limited to 'src/mem/request.hh')
-rw-r--r-- | src/mem/request.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mem/request.hh b/src/mem/request.hh index f2cc4647c..8d1697ad2 100644 --- a/src/mem/request.hh +++ b/src/mem/request.hh @@ -194,6 +194,13 @@ class Request : public FastAlloc setPhys(paddr, size, flags, time); } + Request(Addr paddr, int size, Flags flags, Tick time, Addr pc) + { + setPhys(paddr, size, flags, time); + privateFlags.set(VALID_PC); + _pc = pc; + } + Request(int asid, Addr vaddr, int size, Flags flags, Addr pc, int cid, ThreadID tid) { |