diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/alpha/isa_traits.hh | 2 | ||||
-rw-r--r-- | src/arch/alpha/predecoder.hh | 2 | ||||
-rw-r--r-- | src/arch/arm/utility.hh | 2 | ||||
-rwxr-xr-x | src/arch/mips/dsp.hh | 2 | ||||
-rw-r--r-- | src/arch/mips/isa_traits.hh | 2 | ||||
-rw-r--r-- | src/arch/mips/utility.hh | 5 | ||||
-rw-r--r-- | src/arch/sparc/isa_traits.hh | 2 | ||||
-rw-r--r-- | src/arch/sparc/predecoder.hh | 2 | ||||
-rw-r--r-- | src/arch/sparc/regfile.hh | 4 | ||||
-rw-r--r-- | src/arch/x86/bios/acpi.hh | 6 | ||||
-rw-r--r-- | src/arch/x86/bios/e820.hh | 6 | ||||
-rw-r--r-- | src/arch/x86/bios/intelmp.cc | 2 | ||||
-rw-r--r-- | src/arch/x86/bios/smbios.cc | 2 | ||||
-rw-r--r-- | src/arch/x86/bios/smbios.hh | 2 | ||||
-rw-r--r-- | src/arch/x86/intmessage.hh | 2 | ||||
-rw-r--r-- | src/arch/x86/miscregfile.hh | 4 | ||||
-rw-r--r-- | src/arch/x86/pagetable.hh | 2 | ||||
-rw-r--r-- | src/arch/x86/pagetable_walker.hh | 2 | ||||
-rw-r--r-- | src/arch/x86/predecoder.cc | 2 | ||||
-rw-r--r-- | src/arch/x86/regfile.hh | 4 | ||||
-rw-r--r-- | src/arch/x86/utility.hh | 2 | ||||
-rw-r--r-- | src/arch/x86/x86_traits.hh | 2 |
22 files changed, 29 insertions, 32 deletions
diff --git a/src/arch/alpha/isa_traits.hh b/src/arch/alpha/isa_traits.hh index aae8271ce..f7114e5cc 100644 --- a/src/arch/alpha/isa_traits.hh +++ b/src/arch/alpha/isa_traits.hh @@ -37,8 +37,8 @@ namespace LittleEndianGuest {} #include "arch/alpha/ipr.hh" #include "arch/alpha/max_inst_regs.hh" #include "arch/alpha/types.hh" -#include "config/full_system.hh" #include "base/types.hh" +#include "config/full_system.hh" class StaticInstPtr; diff --git a/src/arch/alpha/predecoder.hh b/src/arch/alpha/predecoder.hh index d18bb2402..913bd8764 100644 --- a/src/arch/alpha/predecoder.hh +++ b/src/arch/alpha/predecoder.hh @@ -33,8 +33,8 @@ #include "arch/alpha/types.hh" #include "base/misc.hh" -#include "config/full_system.hh" #include "base/types.hh" +#include "config/full_system.hh" class ThreadContext; diff --git a/src/arch/arm/utility.hh b/src/arch/arm/utility.hh index e26a00706..e0ae7cd2e 100644 --- a/src/arch/arm/utility.hh +++ b/src/arch/arm/utility.hh @@ -35,9 +35,9 @@ #include "arch/arm/types.hh" #include "base/misc.hh" +#include "base/types.hh" #include "config/full_system.hh" #include "cpu/thread_context.hh" -#include "base/types.hh" class ThreadContext; diff --git a/src/arch/mips/dsp.hh b/src/arch/mips/dsp.hh index dbada893a..a3d6c1a8f 100755 --- a/src/arch/mips/dsp.hh +++ b/src/arch/mips/dsp.hh @@ -34,8 +34,8 @@ #include "arch/mips/types.hh" #include "arch/mips/isa_traits.hh" #include "base/misc.hh" -#include "config/full_system.hh" #include "base/types.hh" +#include "config/full_system.hh" class ThreadContext; diff --git a/src/arch/mips/isa_traits.hh b/src/arch/mips/isa_traits.hh index b091adb5d..7522dcf0f 100644 --- a/src/arch/mips/isa_traits.hh +++ b/src/arch/mips/isa_traits.hh @@ -36,8 +36,8 @@ #include "arch/mips/types.hh" #include "arch/mips/mips_core_specific.hh" -#include "config/full_system.hh" #include "base/types.hh" +#include "config/full_system.hh" namespace LittleEndianGuest {}; diff --git a/src/arch/mips/utility.hh b/src/arch/mips/utility.hh index 95b7c875e..1c77b6ff2 100644 --- a/src/arch/mips/utility.hh +++ b/src/arch/mips/utility.hh @@ -37,11 +37,8 @@ #include "arch/mips/types.hh" #include "arch/mips/isa_traits.hh" #include "base/misc.hh" -#include "config/full_system.hh" -//XXX This is needed for size_t. We should use something other than size_t -//#include "kern/linux/linux.hh" #include "base/types.hh" - +#include "config/full_system.hh" #include "cpu/thread_context.hh" class ThreadContext; diff --git a/src/arch/sparc/isa_traits.hh b/src/arch/sparc/isa_traits.hh index 1c783a9b9..00dadcf3d 100644 --- a/src/arch/sparc/isa_traits.hh +++ b/src/arch/sparc/isa_traits.hh @@ -35,8 +35,8 @@ #include "arch/sparc/types.hh" #include "arch/sparc/max_inst_regs.hh" #include "arch/sparc/sparc_traits.hh" -#include "config/full_system.hh" #include "base/types.hh" +#include "config/full_system.hh" class StaticInstPtr; diff --git a/src/arch/sparc/predecoder.hh b/src/arch/sparc/predecoder.hh index c7503b282..7775e858e 100644 --- a/src/arch/sparc/predecoder.hh +++ b/src/arch/sparc/predecoder.hh @@ -33,8 +33,8 @@ #include "arch/sparc/types.hh" #include "base/misc.hh" -#include "cpu/thread_context.hh" #include "base/types.hh" +#include "cpu/thread_context.hh" class ThreadContext; diff --git a/src/arch/sparc/regfile.hh b/src/arch/sparc/regfile.hh index f732c9625..7da302eb7 100644 --- a/src/arch/sparc/regfile.hh +++ b/src/arch/sparc/regfile.hh @@ -32,6 +32,8 @@ #ifndef __ARCH_SPARC_REGFILE_HH__ #define __ARCH_SPARC_REGFILE_HH__ +#include <string> + #include "arch/sparc/floatregfile.hh" #include "arch/sparc/intregfile.hh" #include "arch/sparc/isa_traits.hh" @@ -39,8 +41,6 @@ #include "arch/sparc/types.hh" #include "base/types.hh" -#include <string> - class Checkpoint; namespace SparcISA diff --git a/src/arch/x86/bios/acpi.hh b/src/arch/x86/bios/acpi.hh index bcc4e1962..5bbabfcf7 100644 --- a/src/arch/x86/bios/acpi.hh +++ b/src/arch/x86/bios/acpi.hh @@ -58,12 +58,12 @@ #ifndef __ARCH_X86_BIOS_ACPI_HH__ #define __ARCH_X86_BIOS_ACPI_HH__ +#include <string> +#include <vector> + #include "base/types.hh" #include "sim/sim_object.hh" -#include <vector> -#include <string> - class Port; class X86ACPIRSDPParams; diff --git a/src/arch/x86/bios/e820.hh b/src/arch/x86/bios/e820.hh index 0cff6cc16..184dd2072 100644 --- a/src/arch/x86/bios/e820.hh +++ b/src/arch/x86/bios/e820.hh @@ -58,13 +58,13 @@ #ifndef __ARCH_X86_BIOS_E820_HH__ #define __ARCH_X86_BIOS_E820_HH__ +#include <vector> + +#include "base/types.hh" #include "params/X86E820Entry.hh" #include "params/X86E820Table.hh" -#include "base/types.hh" #include "sim/sim_object.hh" -#include <vector> - class Port; namespace X86ISA diff --git a/src/arch/x86/bios/intelmp.cc b/src/arch/x86/bios/intelmp.cc index e526f9658..ab4f54bac 100644 --- a/src/arch/x86/bios/intelmp.cc +++ b/src/arch/x86/bios/intelmp.cc @@ -58,9 +58,9 @@ #include "arch/x86/bios/intelmp.hh" #include "arch/x86/isa_traits.hh" #include "base/misc.hh" +#include "base/types.hh" #include "mem/port.hh" #include "sim/byteswap.hh" -#include "base/types.hh" // Config entry types #include "params/X86IntelMPBaseConfigEntry.hh" diff --git a/src/arch/x86/bios/smbios.cc b/src/arch/x86/bios/smbios.cc index 1e49a875a..23ac55a6b 100644 --- a/src/arch/x86/bios/smbios.cc +++ b/src/arch/x86/bios/smbios.cc @@ -87,12 +87,12 @@ #include "arch/x86/bios/smbios.hh" #include "arch/x86/isa_traits.hh" +#include "base/types.hh" #include "mem/port.hh" #include "params/X86SMBiosBiosInformation.hh" #include "params/X86SMBiosSMBiosStructure.hh" #include "params/X86SMBiosSMBiosTable.hh" #include "sim/byteswap.hh" -#include "base/types.hh" using namespace std; diff --git a/src/arch/x86/bios/smbios.hh b/src/arch/x86/bios/smbios.hh index 688b0a6c5..d1c537651 100644 --- a/src/arch/x86/bios/smbios.hh +++ b/src/arch/x86/bios/smbios.hh @@ -91,9 +91,9 @@ #include <string> #include <vector> +#include "base/types.hh" #include "enums/Characteristic.hh" #include "enums/ExtCharacteristic.hh" -#include "base/types.hh" #include "sim/sim_object.hh" class FunctionalPort; diff --git a/src/arch/x86/intmessage.hh b/src/arch/x86/intmessage.hh index 48f6c671b..f4a3ab9a6 100644 --- a/src/arch/x86/intmessage.hh +++ b/src/arch/x86/intmessage.hh @@ -33,10 +33,10 @@ #include "arch/x86/x86_traits.hh" #include "base/bitunion.hh" +#include "base/types.hh" #include "mem/packet.hh" #include "mem/packet_access.hh" #include "mem/request.hh" -#include "base/types.hh" namespace X86ISA { diff --git a/src/arch/x86/miscregfile.hh b/src/arch/x86/miscregfile.hh index fad70bf78..74dcbcbea 100644 --- a/src/arch/x86/miscregfile.hh +++ b/src/arch/x86/miscregfile.hh @@ -88,13 +88,13 @@ #ifndef __ARCH_X86_MISCREGFILE_HH__ #define __ARCH_X86_MISCREGFILE_HH__ +#include <string> + #include "arch/x86/faults.hh" #include "arch/x86/miscregs.hh" #include "arch/x86/types.hh" #include "base/types.hh" -#include <string> - class Checkpoint; namespace X86ISA diff --git a/src/arch/x86/pagetable.hh b/src/arch/x86/pagetable.hh index 2c359c2cf..e21978b1c 100644 --- a/src/arch/x86/pagetable.hh +++ b/src/arch/x86/pagetable.hh @@ -61,9 +61,9 @@ #include <iostream> #include <string> -#include "base/types.hh" #include "base/bitunion.hh" #include "base/misc.hh" +#include "base/types.hh" class Checkpoint; diff --git a/src/arch/x86/pagetable_walker.hh b/src/arch/x86/pagetable_walker.hh index 613832cb9..78866bb9e 100644 --- a/src/arch/x86/pagetable_walker.hh +++ b/src/arch/x86/pagetable_walker.hh @@ -62,10 +62,10 @@ #include "arch/x86/pagetable.hh" #include "arch/x86/tlb.hh" +#include "base/types.hh" #include "mem/mem_object.hh" #include "mem/packet.hh" #include "params/X86PagetableWalker.hh" -#include "base/types.hh" class ThreadContext; diff --git a/src/arch/x86/predecoder.cc b/src/arch/x86/predecoder.cc index 0ae0fd328..24276f06c 100644 --- a/src/arch/x86/predecoder.cc +++ b/src/arch/x86/predecoder.cc @@ -59,8 +59,8 @@ #include "arch/x86/predecoder.hh" #include "base/misc.hh" #include "base/trace.hh" -#include "cpu/thread_context.hh" #include "base/types.hh" +#include "cpu/thread_context.hh" namespace X86ISA { diff --git a/src/arch/x86/regfile.hh b/src/arch/x86/regfile.hh index 07561fe8a..4f285254a 100644 --- a/src/arch/x86/regfile.hh +++ b/src/arch/x86/regfile.hh @@ -58,6 +58,8 @@ #ifndef __ARCH_X86_REGFILE_HH__ #define __ARCH_X86_REGFILE_HH__ +#include <string> + #include "arch/x86/floatregfile.hh" #include "arch/x86/intregfile.hh" #include "arch/x86/isa_traits.hh" @@ -65,8 +67,6 @@ #include "arch/x86/types.hh" #include "base/types.hh" -#include <string> - class Checkpoint; class EventManager; diff --git a/src/arch/x86/utility.hh b/src/arch/x86/utility.hh index c34411a2f..9290dc024 100644 --- a/src/arch/x86/utility.hh +++ b/src/arch/x86/utility.hh @@ -61,9 +61,9 @@ #include "arch/x86/types.hh" #include "base/hashmap.hh" #include "base/misc.hh" +#include "base/types.hh" #include "config/full_system.hh" #include "cpu/thread_context.hh" -#include "base/types.hh" class ThreadContext; diff --git a/src/arch/x86/x86_traits.hh b/src/arch/x86/x86_traits.hh index 381695c40..8b50bdf9b 100644 --- a/src/arch/x86/x86_traits.hh +++ b/src/arch/x86/x86_traits.hh @@ -58,7 +58,7 @@ #ifndef __ARCH_X86_X86TRAITS_HH__ #define __ARCH_X86_X86TRAITS_HH__ -#include <assert.h> +#include <cassert> #include "base/types.hh" |