diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-01-31 14:20:39 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-01-31 14:20:39 -0500 |
commit | 4875b3346709d72e0be99fb6ccede65550b91f94 (patch) | |
tree | bd71ec62c7a5a74e40ca226a2ac5b4f26c71f81d /dev/platform.hh | |
parent | a1033448ead67ea2819d67609c0390aefc865b0f (diff) | |
download | gem5-4875b3346709d72e0be99fb6ccede65550b91f94.tar.xz |
changed sendresult -> bool,tick,void as appropriate
first crack at io devices code
made CpuRequest that derives from Request
dev/io_device.cc:
dev/io_device.hh:
first crack at the classes for Pio and Dma devices
dev/platform.hh:
We are going to a system pointer to get info about the memory system
mem/bus.hh:
changed sendresult -> bool,tick,void as appropriate
mem/port.hh:
changed sendresult -> bool,tick,void as appropriate;
removed the sendTiming(pkt,t) call since it is not really
implementable in a generic fashion
mem/request.hh:
pulled items from Request into CpuRequest
--HG--
extra : convert_revision : 6213cf2b66417fa023b80884d9e623e78f5aa891
Diffstat (limited to 'dev/platform.hh')
-rw-r--r-- | dev/platform.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev/platform.hh b/dev/platform.hh index ee9c72617..ff37ee71a 100644 --- a/dev/platform.hh +++ b/dev/platform.hh @@ -41,6 +41,7 @@ class PciConfigAll; class IntrControl; class SimConsole; class Uart; +class System; class Platform : public SimObject { @@ -54,6 +55,9 @@ class Platform : public SimObject /** Pointer to the UART, set by the uart */ Uart *uart; + /** Pointer to the system for info about the memory system. */ + System *system; + public: Platform(const std::string &name, IntrControl *intctrl, PciConfigAll *pci); virtual ~Platform(); |