summaryrefslogtreecommitdiff
path: root/src/dev/mips/malta.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-07-21 01:09:05 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-07-21 01:09:05 -0700
commit74584d79b66b3459c72db6c74bfa9e22ee1ae23b (patch)
treef8a98156083103e9f883235e2fd91cccba76f179 /src/dev/mips/malta.cc
parent7548082d3baf578fe984c79f414dbefd96091359 (diff)
downloadgem5-74584d79b66b3459c72db6c74bfa9e22ee1ae23b.tar.xz
MIPS: Get MIPS_FS to compile, more style fixes.
Some breakage was from my BitUnion change, some was much older.
Diffstat (limited to 'src/dev/mips/malta.cc')
-rwxr-xr-xsrc/dev/mips/malta.cc25
1 files changed, 6 insertions, 19 deletions
diff --git a/src/dev/mips/malta.cc b/src/dev/mips/malta.cc
index 21e79d999..1401fe9ee 100755
--- a/src/dev/mips/malta.cc
+++ b/src/dev/mips/malta.cc
@@ -69,51 +69,38 @@ Malta::intrFrequency()
void
Malta::postConsoleInt()
{
- //panic("Malta::postConsoleInt() has not been implemented.");
- io->postIntr(0x10/*HW4*/);//see {Linux-src}/arch/mips/mips-boards/sim/sim_setup.c
+ //see {Linux-src}/arch/mips/mips-boards/sim/sim_setup.c
+ io->postIntr(0x10/*HW4*/);
}
void
Malta::clearConsoleInt()
{
- //FIXME: implement clearConsoleInt()
- //warn("Malta::clearConsoleInt() has not been implemented.");
+ //FIXME: implement clearConsoleInt()
io->clearIntr(0x10/*HW4*/);
}
void
Malta::postPciInt(int line)
{
- panic("Malta::postPciInt() has not been implemented.");
- //cchip->postDRIR(line);
+ panic("Malta::postPciInt() has not been implemented.");
}
void
Malta::clearPciInt(int line)
{
- panic("Malta::clearPciInt() has not been implemented.");
- //cchip->clearDRIR(line);
+ panic("Malta::clearPciInt() has not been implemented.");
}
Addr
Malta::pciToDma(Addr pciAddr) const
{
- panic("Malta::pciToDma() has not been implemented.");
- return pchip->translatePciToDma(pciAddr);
-}
-
-
-Addr
-Malta::calcConfigAddr(int bus, int dev, int func)
-{
- panic("Malta::calcConfigAddr() has not been implemented.");
- return pchip->calcConfigAddr(bus, dev, func);
+ panic("Malta::pciToDma() has not been implemented.");
}
void
Malta::serialize(std::ostream &os)
{
-
SERIALIZE_ARRAY(intr_sum_type, Malta::Max_CPUs);
}