diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-11-21 21:52:04 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-11-21 21:52:04 -0500 |
commit | 2b76b41b90d5725155cd71d5143128cbcfc155ac (patch) | |
tree | ec2d9d78158e8b6e2a962d0bbfea30bccc345f83 /dev/sinic.hh | |
parent | 48863a1a43119607531cefea5356ced8bcdf9201 (diff) | |
download | gem5-2b76b41b90d5725155cd71d5143128cbcfc155ac.tar.xz |
have sinic use the new readBar/writeBar stuff that's in the
pci device base class
dev/sinic.cc:
dev/sinic.hh:
use the new readBar/writeBar stuff that's in the pci device
base class
--HG--
extra : convert_revision : 8a0b2bde3cc13597785d6ea75d6e6811680bb01b
Diffstat (limited to 'dev/sinic.hh')
-rw-r--r-- | dev/sinic.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dev/sinic.hh b/dev/sinic.hh index 4a772d4c5..b9089cd53 100644 --- a/dev/sinic.hh +++ b/dev/sinic.hh @@ -259,10 +259,13 @@ class Device : public Base * Memory Interface */ public: - void prepareRead(); - Fault iprRead(Addr daddr, uint64_t &result); virtual Fault read(MemReqPtr &req, uint8_t *data); virtual Fault write(MemReqPtr &req, const uint8_t *data); + + void prepareRead(); + Fault iprRead(Addr daddr, uint64_t &result); + Fault readBar0(MemReqPtr &req, Addr daddr, uint8_t *data); + Fault writeBar0(MemReqPtr &req, Addr daddr, const uint8_t *data); Tick cacheAccess(MemReqPtr &req); /** |