From 941675690ca77475f8f311e99f3660d0394e583c Mon Sep 17 00:00:00 2001
From: Gabe Black <gblack@eecs.umich.edu>
Date: Fri, 31 Aug 2007 13:02:58 -0700
Subject: X86: Get x86 to compile again after the simobject constructor change.

--HG--
extra : convert_revision : 17a3e16e849bee88892223f0c993b19c15daa554
---
 src/arch/x86/tlb.cc | 4 ++--
 src/arch/x86/tlb.hh | 5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)

(limited to 'src/arch')

diff --git a/src/arch/x86/tlb.cc b/src/arch/x86/tlb.cc
index e29ec58c2..d2db8cb0b 100644
--- a/src/arch/x86/tlb.cc
+++ b/src/arch/x86/tlb.cc
@@ -79,11 +79,11 @@ namespace X86ISA {
 X86ISA::ITB *
 X86ITBParams::create()
 {
-    return new X86ISA::ITB(name);
+    return new X86ISA::ITB(this);
 }
 
 X86ISA::DTB *
 X86DTBParams::create()
 {
-    return new X86ISA::DTB(name);
+    return new X86ISA::DTB(this);
 }
diff --git a/src/arch/x86/tlb.hh b/src/arch/x86/tlb.hh
index 6622f5dc2..354443794 100644
--- a/src/arch/x86/tlb.hh
+++ b/src/arch/x86/tlb.hh
@@ -59,7 +59,6 @@
 #define __ARCH_X86_TLB_HH__
 
 #include <iostream>
-#include <string>
 
 #include "sim/host.hh"
 #include "sim/tlb.hh"
@@ -81,14 +80,14 @@ namespace X86ISA
     class ITB : public GenericTLB
     {
       public:
-        ITB(const std::string &name) : GenericTLB(name)
+        ITB(const Params *p) : GenericTLB(p)
         {}
     };
 
     class DTB : public GenericTLB
     {
       public:
-        DTB(const std::string &name) : GenericTLB(name)
+        DTB(const Params *p) : GenericTLB(p)
         {}
     };
 };
-- 
cgit v1.2.3