summaryrefslogtreecommitdiff
path: root/src/arch/mips
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-09-10 14:58:04 -0700
committerNathan Binkert <nate@binkert.org>2010-09-10 14:58:04 -0700
commitafafaf1dcbab1fac3e3ba2f87dd5138d3ec08588 (patch)
treee13b5f3eaf5c55447898150532d823662d11b5f6 /src/arch/mips
parent47ef97b9caad0a72751523855d145dcd96fc5738 (diff)
downloadgem5-afafaf1dcbab1fac3e3ba2f87dd5138d3ec08588.tar.xz
style: fix sorting of includes and whitespace in some files
Diffstat (limited to 'src/arch/mips')
-rw-r--r--src/arch/mips/faults.cc9
-rw-r--r--src/arch/mips/linux/process.cc2
-rw-r--r--src/arch/mips/locked_mem.hh1
-rw-r--r--src/arch/mips/process.cc3
-rw-r--r--src/arch/mips/tlb.cc1
5 files changed, 5 insertions, 11 deletions
diff --git a/src/arch/mips/faults.cc b/src/arch/mips/faults.cc
index 815784388..68ee86455 100644
--- a/src/arch/mips/faults.cc
+++ b/src/arch/mips/faults.cc
@@ -32,13 +32,14 @@
*/
#include "arch/mips/faults.hh"
-#include "cpu/thread_context.hh"
-#include "cpu/base.hh"
-#include "base/trace.hh"
#include "arch/mips/pra_constants.hh"
+#include "base/trace.hh"
+#include "cpu/base.hh"
+#include "cpu/thread_context.hh"
+
#if !FULL_SYSTEM
-#include "sim/process.hh"
#include "mem/page_table.hh"
+#include "sim/process.hh"
#endif
namespace MipsISA
diff --git a/src/arch/mips/linux/process.cc b/src/arch/mips/linux/process.cc
index 4c3581ecb..f3cac84e8 100644
--- a/src/arch/mips/linux/process.cc
+++ b/src/arch/mips/linux/process.cc
@@ -33,11 +33,9 @@
#include "arch/mips/linux/linux.hh"
#include "arch/mips/linux/process.hh"
#include "arch/mips/isa_traits.hh"
-
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "kern/linux/linux.hh"
-
#include "sim/process.hh"
#include "sim/system.hh"
#include "sim/syscall_emul.hh"
diff --git a/src/arch/mips/locked_mem.hh b/src/arch/mips/locked_mem.hh
index 8cf94df98..21777e440 100644
--- a/src/arch/mips/locked_mem.hh
+++ b/src/arch/mips/locked_mem.hh
@@ -42,7 +42,6 @@
#include "base/trace.hh"
#include "mem/request.hh"
-
namespace MipsISA
{
diff --git a/src/arch/mips/process.cc b/src/arch/mips/process.cc
index 7f1e94709..fa3e3bff9 100644
--- a/src/arch/mips/process.cc
+++ b/src/arch/mips/process.cc
@@ -32,14 +32,11 @@
#include "arch/mips/isa_traits.hh"
#include "arch/mips/process.hh"
-
#include "base/loader/object_file.hh"
#include "base/loader/elf_object.hh"
#include "base/misc.hh"
#include "cpu/thread_context.hh"
-
#include "mem/page_table.hh"
-
#include "sim/process.hh"
#include "sim/process_impl.hh"
#include "sim/system.hh"
diff --git a/src/arch/mips/tlb.cc b/src/arch/mips/tlb.cc
index cf1230745..e104b0bd2 100644
--- a/src/arch/mips/tlb.cc
+++ b/src/arch/mips/tlb.cc
@@ -47,7 +47,6 @@
#include "mem/page_table.hh"
#include "params/MipsTLB.hh"
-
using namespace std;
using namespace MipsISA;