diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2004-06-26 21:26:28 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2004-06-26 21:26:28 -0400 |
commit | 54b49f933abe452a48bf13c9c948946672bb784b (patch) | |
tree | 3f26334dcc4e6acbfebcaf70116058a89f05e6e1 /dev/platform.hh | |
parent | 4799a7b87439913765029117eb51fcacd6f07edb (diff) | |
download | gem5-54b49f933abe452a48bf13c9c948946672bb784b.tar.xz |
rewrote uart and renamed console.cc to simconsole to reduce confusion
base/traceflags.py:
removed TsunamiUart/TlaserUart and added a plain Uart
dev/alpha_console.cc:
updated for new simconsole
dev/platform.hh:
added a uart member to platform
dev/simconsole.cc:
dev/simconsole.hh:
removed lots of legacy code, it should all be ours now.
converted tabs to 8 spaces
added our copyright
dev/tsunami.cc:
uses simconsole.hh rather than console.hh
dev/tsunami_cchip.cc:
dev/tsunami_io.cc:
never needed console.hh
dev/tsunami_io.hh:
this does need eventq.hh and it just happend to be working whenn console.hh was
included everywhere
dev/tsunamireg.h:
added a couple more 8250/16550 uart defines
dev/uart.cc:
new uart code, rewritten to support both tlaser and tsunami (both a 8250 and 8530
uart).
dev/uart.hh:
updated for new uart, legacy code removed
--HG--
rename : dev/console.cc => dev/simconsole.cc
rename : dev/console.hh => dev/simconsole.hh
rename : dev/tsunami_uart.cc => dev/uart.cc
rename : dev/tsunami_uart.hh => dev/uart.hh
extra : convert_revision : e663352d49d4c2d3c95643030cf73c0e85ba2f08
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 f0e3d291b..7920480bc 100644 --- a/dev/platform.hh +++ b/dev/platform.hh @@ -39,6 +39,7 @@ class PciConfigAll; class IntrControl; class SimConsole; +class Uart; class Platform : public SimObject { @@ -50,6 +51,9 @@ class Platform : public SimObject /** Pointer to the PCI configuration space */ PciConfigAll *pciconfig; + /** Pointer to the UART, set by the uart */ + Uart *uart; + int interrupt_frequency; public: |