X86: Define a noop ExtMachInst.
[gem5.git] / src / arch / mips / vtophys.cc
index 72769aac1d926ea1e3b99365d570b789aa7f37d1..08e1a1e1c7fc6445ea925ceb1214bc67017e40f8 100755 (executable)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2002-2005 The Regents of The University of Michigan
+ * Copyright (c) 2007 MIPS Technologies, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -25,9 +26,9 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * Authors: Nathan Binkert
- *          Steve Reinhardt
- *          Ali Saidi
+ * Authors: Ali Saidi
+ *          Nathan Binkert
+ *          Jaidev Patwardhan
  */
 
 #include <string>
@@ -37,6 +38,7 @@
 #include "base/trace.hh"
 #include "cpu/thread_context.hh"
 #include "mem/vport.hh"
+
 using namespace std;
 using namespace MipsISA;
 
@@ -51,7 +53,8 @@ MipsISA::vtophys(Addr vaddr)
     else if(MipsISA::IsKSeg1(vaddr))
         paddr = MipsISA::KSeg12Phys(vaddr);
     else
-        panic("vtophys: ptbr is not set on virtual lookup for vaddr %#x", vaddr);
+        panic("vtophys: ptbr is not set on "
+                "virtual lookup for vaddr %#x", vaddr);
 
     DPRINTF(VtoPhys, "vtophys(%#x) -> %#x\n", vaddr, paddr);
 
@@ -61,7 +64,6 @@ MipsISA::vtophys(Addr vaddr)
 Addr
 MipsISA::vtophys(ThreadContext *tc, Addr addr)
 {
-
   fatal("VTOPHYS: Unimplemented on MIPS\n");
 }