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
diff --git a/dev/sinic.hh b/dev/sinic.hh
index 4a772d4..b9089cd 100644
--- a/dev/sinic.hh
+++ b/dev/sinic.hh
@@ -259,10 +259,13 @@
* 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);
/**