From 74584d79b66b3459c72db6c74bfa9e22ee1ae23b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 21 Jul 2009 01:09:05 -0700 Subject: MIPS: Get MIPS_FS to compile, more style fixes. Some breakage was from my BitUnion change, some was much older. --- src/dev/mips/malta.cc | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) (limited to 'src/dev/mips/malta.cc') 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); } -- cgit v1.2.3