diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2004-05-14 17:34:15 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2004-05-14 17:34:15 -0400 |
commit | fd21387149c272b8aaee62466fe96863f3ef458f (patch) | |
tree | e7029f7536b5374fc0fb5a9688d8d1a2b5a816b3 /dev/tsunami.hh | |
parent | cd8db7669aefe1075c9ded5e6cc3203593698880 (diff) | |
download | gem5-fd21387149c272b8aaee62466fe96863f3ef458f.tar.xz |
Linux boots... various fixes to make console work correctly
dev/console.cc:
commented out code that checks if an interrupt is happening before issuing one
because they can get lost when linux boots
dev/console.hh:
added a setPlatform function to set the platform to interrupt
dev/platform.hh:
dev/tsunami.cc:
dev/tsunami.hh:
Added virtual functions to post console interrupts
dev/tsunami_io.cc:
allowed a 64bit read of the PIC since we can't do a physical byte read
dev/tsunami_uart.cc:
moved TsunamiUart to PioDevice
various little fixes to make linux work
dev/tsunami_uart.hh:
Made Tsunami_Uart a PIO device
dev/tsunamireg.h:
added some UART defines and used the ULL macros
kern/linux/linux_system.cc:
commented out waiting for gdb
--HG--
extra : convert_revision : 8cfd0700f3812ab349a6d7f132f85f4f421c5c5e
Diffstat (limited to 'dev/tsunami.hh')
-rw-r--r-- | dev/tsunami.hh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/dev/tsunami.hh b/dev/tsunami.hh index 2cbacc50b..f619e4cff 100644 --- a/dev/tsunami.hh +++ b/dev/tsunami.hh @@ -92,9 +92,11 @@ class Tsunami : public Platform * @param intrcontrol pointer to the interrupt controller * @param intrFreq frequency that interrupts happen */ - Tsunami(const std::string &name, System *s, SimConsole *con, - IntrControl *intctrl, PciConfigAll *pci, - int intrFreq); + Tsunami(const std::string &name, System *s, IntrControl *intctrl, + PciConfigAll *pci, int intrFreq); + + virtual void postConsoleInt(); + virtual void clearConsoleInt(); virtual void serialize(std::ostream &os); virtual void unserialize(Checkpoint *cp, const std::string §ion); |