diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/alpha/process.cc | 1 | ||||
-rw-r--r-- | src/arch/alpha/process.hh | 1 | ||||
-rw-r--r-- | src/arch/arm/process.cc | 1 | ||||
-rw-r--r-- | src/arch/arm/process.hh | 1 | ||||
-rw-r--r-- | src/arch/mips/process.cc | 1 | ||||
-rw-r--r-- | src/arch/mips/process.hh | 1 | ||||
-rw-r--r-- | src/arch/power/interrupts.hh | 1 | ||||
-rw-r--r-- | src/arch/power/process.cc | 1 | ||||
-rw-r--r-- | src/arch/power/process.hh | 1 | ||||
-rw-r--r-- | src/arch/power/remote_gdb.cc | 2 | ||||
-rw-r--r-- | src/arch/riscv/interrupts.hh | 1 | ||||
-rw-r--r-- | src/arch/riscv/process.cc | 1 | ||||
-rw-r--r-- | src/arch/riscv/process.hh | 1 | ||||
-rw-r--r-- | src/arch/sparc/process.cc | 1 | ||||
-rw-r--r-- | src/arch/sparc/process.hh | 1 | ||||
-rw-r--r-- | src/arch/x86/isa_traits.hh | 1 | ||||
-rw-r--r-- | src/arch/x86/pagetable.hh | 3 | ||||
-rw-r--r-- | src/arch/x86/process.cc | 1 | ||||
-rw-r--r-- | src/arch/x86/pseudo_inst.cc | 3 | ||||
-rw-r--r-- | src/arch/x86/system.cc | 7 | ||||
-rw-r--r-- | src/arch/x86/system.hh | 4 | ||||
-rw-r--r-- | src/arch/x86/tlb.cc | 4 | ||||
-rw-r--r-- | src/arch/x86/tlb.hh | 5 | ||||
-rw-r--r-- | src/arch/x86/utility.cc | 3 | ||||
-rw-r--r-- | src/arch/x86/utility.hh | 6 |
25 files changed, 22 insertions, 31 deletions
diff --git a/src/arch/alpha/process.cc b/src/arch/alpha/process.cc index be286e30e..4e9f1e9dd 100644 --- a/src/arch/alpha/process.cc +++ b/src/arch/alpha/process.cc @@ -40,6 +40,7 @@ #include "mem/page_table.hh" #include "sim/byteswap.hh" #include "sim/process_impl.hh" +#include "sim/syscall_return.hh" #include "sim/system.hh" using namespace AlphaISA; diff --git a/src/arch/alpha/process.hh b/src/arch/alpha/process.hh index c41ece837..e5320564f 100644 --- a/src/arch/alpha/process.hh +++ b/src/arch/alpha/process.hh @@ -32,6 +32,7 @@ #ifndef __ARCH_ALPHA_PROCESS_HH__ #define __ARCH_ALPHA_PROCESS_HH__ +#include "mem/page_table.hh" #include "sim/process.hh" class AlphaLiveProcess : public LiveProcess diff --git a/src/arch/arm/process.cc b/src/arch/arm/process.cc index cc3d3e200..41bfa5b13 100644 --- a/src/arch/arm/process.cc +++ b/src/arch/arm/process.cc @@ -53,6 +53,7 @@ #include "mem/page_table.hh" #include "sim/byteswap.hh" #include "sim/process_impl.hh" +#include "sim/syscall_return.hh" #include "sim/system.hh" using namespace std; diff --git a/src/arch/arm/process.hh b/src/arch/arm/process.hh index 39e971c62..657f30af8 100644 --- a/src/arch/arm/process.hh +++ b/src/arch/arm/process.hh @@ -48,6 +48,7 @@ #include "arch/arm/intregs.hh" #include "base/loader/object_file.hh" +#include "mem/page_table.hh" #include "sim/process.hh" class LiveProcess; diff --git a/src/arch/mips/process.cc b/src/arch/mips/process.cc index dd97fe7f1..d26850604 100644 --- a/src/arch/mips/process.cc +++ b/src/arch/mips/process.cc @@ -41,6 +41,7 @@ #include "mem/page_table.hh" #include "sim/process.hh" #include "sim/process_impl.hh" +#include "sim/syscall_return.hh" #include "sim/system.hh" using namespace std; diff --git a/src/arch/mips/process.hh b/src/arch/mips/process.hh index 33c02d08b..e05118e9f 100644 --- a/src/arch/mips/process.hh +++ b/src/arch/mips/process.hh @@ -35,6 +35,7 @@ #include <string> #include <vector> +#include "mem/page_table.hh" #include "sim/process.hh" class LiveProcess; diff --git a/src/arch/power/interrupts.hh b/src/arch/power/interrupts.hh index be5c72151..e41b4aa95 100644 --- a/src/arch/power/interrupts.hh +++ b/src/arch/power/interrupts.hh @@ -35,6 +35,7 @@ #include "params/PowerInterrupts.hh" #include "sim/sim_object.hh" +class BaseCPU; class ThreadContext; namespace PowerISA { diff --git a/src/arch/power/process.cc b/src/arch/power/process.cc index 880d7dd6f..f7cb41dbb 100644 --- a/src/arch/power/process.cc +++ b/src/arch/power/process.cc @@ -41,6 +41,7 @@ #include "debug/Stack.hh" #include "mem/page_table.hh" #include "sim/process_impl.hh" +#include "sim/syscall_return.hh" #include "sim/system.hh" using namespace std; diff --git a/src/arch/power/process.hh b/src/arch/power/process.hh index b96c77c70..cc023e2c9 100644 --- a/src/arch/power/process.hh +++ b/src/arch/power/process.hh @@ -36,6 +36,7 @@ #include <string> #include <vector> +#include "mem/page_table.hh" #include "sim/process.hh" class LiveProcess; diff --git a/src/arch/power/remote_gdb.cc b/src/arch/power/remote_gdb.cc index ef10efc18..1ed7afbc0 100644 --- a/src/arch/power/remote_gdb.cc +++ b/src/arch/power/remote_gdb.cc @@ -133,6 +133,7 @@ * "Stub" to allow remote cpu to debug over a serial line using gdb. */ + #include "arch/power/remote_gdb.hh" #include <sys/signal.h> @@ -144,6 +145,7 @@ #include "cpu/thread_state.hh" #include "debug/GDBAcc.hh" #include "debug/GDBMisc.hh" +#include "mem/page_table.hh" #include "sim/byteswap.hh" using namespace std; diff --git a/src/arch/riscv/interrupts.hh b/src/arch/riscv/interrupts.hh index b157a3a8c..36eb52909 100644 --- a/src/arch/riscv/interrupts.hh +++ b/src/arch/riscv/interrupts.hh @@ -35,6 +35,7 @@ #include "params/RiscvInterrupts.hh" #include "sim/sim_object.hh" +class BaseCPU; class ThreadContext; namespace RiscvISA { diff --git a/src/arch/riscv/process.cc b/src/arch/riscv/process.cc index 7fa84035f..c1a67ec15 100644 --- a/src/arch/riscv/process.cc +++ b/src/arch/riscv/process.cc @@ -44,6 +44,7 @@ #include "mem/page_table.hh" #include "sim/process.hh" #include "sim/process_impl.hh" +#include "sim/syscall_return.hh" #include "sim/system.hh" using namespace std; diff --git a/src/arch/riscv/process.hh b/src/arch/riscv/process.hh index eb0e5f769..53aa7c00a 100644 --- a/src/arch/riscv/process.hh +++ b/src/arch/riscv/process.hh @@ -35,6 +35,7 @@ #include <string> #include <vector> +#include "mem/page_table.hh" #include "sim/process.hh" class LiveProcess; diff --git a/src/arch/sparc/process.cc b/src/arch/sparc/process.cc index f863eb018..c14680a6a 100644 --- a/src/arch/sparc/process.cc +++ b/src/arch/sparc/process.cc @@ -43,6 +43,7 @@ #include "debug/Stack.hh" #include "mem/page_table.hh" #include "sim/process_impl.hh" +#include "sim/syscall_return.hh" #include "sim/system.hh" using namespace std; diff --git a/src/arch/sparc/process.hh b/src/arch/sparc/process.hh index e9d81367b..23a1a8c52 100644 --- a/src/arch/sparc/process.hh +++ b/src/arch/sparc/process.hh @@ -35,6 +35,7 @@ #include <string> #include <vector> +#include "mem/page_table.hh" #include "sim/byteswap.hh" #include "sim/process.hh" diff --git a/src/arch/x86/isa_traits.hh b/src/arch/x86/isa_traits.hh index fcdffec1c..88cd16eff 100644 --- a/src/arch/x86/isa_traits.hh +++ b/src/arch/x86/isa_traits.hh @@ -42,6 +42,7 @@ #include "arch/x86/types.hh" #include "arch/x86/x86_traits.hh" +#include "base/compiler.hh" #include "base/types.hh" namespace LittleEndianGuest {} diff --git a/src/arch/x86/pagetable.hh b/src/arch/x86/pagetable.hh index 1361109d5..354fb5a5c 100644 --- a/src/arch/x86/pagetable.hh +++ b/src/arch/x86/pagetable.hh @@ -46,14 +46,13 @@ #include <vector> #include "base/bitunion.hh" -#include "base/misc.hh" #include "base/types.hh" #include "base/trie.hh" -#include "cpu/thread_context.hh" #include "arch/x86/system.hh" #include "debug/MMU.hh" class Checkpoint; +class ThreadContext; namespace X86ISA { diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc index 116304fb4..a37468a88 100644 --- a/src/arch/x86/process.cc +++ b/src/arch/x86/process.cc @@ -59,6 +59,7 @@ #include "mem/page_table.hh" #include "sim/process_impl.hh" #include "sim/syscall_desc.hh" +#include "sim/syscall_return.hh" #include "sim/system.hh" using namespace std; diff --git a/src/arch/x86/pseudo_inst.cc b/src/arch/x86/pseudo_inst.cc index edba0474a..acf310631 100644 --- a/src/arch/x86/pseudo_inst.cc +++ b/src/arch/x86/pseudo_inst.cc @@ -31,9 +31,10 @@ #include "arch/x86/pseudo_inst.hh" #include "arch/x86/system.hh" +#include "cpu/thread_context.hh" #include "debug/PseudoInst.hh" +#include "mem/se_translating_port_proxy.hh" #include "sim/process.hh" -#include "sim/system.hh" using namespace X86ISA; diff --git a/src/arch/x86/system.cc b/src/arch/x86/system.cc index 25a1bd0df..ecde8366a 100644 --- a/src/arch/x86/system.cc +++ b/src/arch/x86/system.cc @@ -39,19 +39,12 @@ #include "arch/x86/system.hh" -#include "arch/vtophys.hh" #include "arch/x86/bios/intelmp.hh" #include "arch/x86/bios/smbios.hh" #include "arch/x86/isa_traits.hh" -#include "arch/x86/regs/misc.hh" -#include "base/intmath.hh" #include "base/loader/object_file.hh" -#include "base/loader/symtab.hh" -#include "base/trace.hh" #include "cpu/thread_context.hh" -#include "mem/port_proxy.hh" #include "params/X86System.hh" -#include "sim/byteswap.hh" using namespace LittleEndianGuest; using namespace X86ISA; diff --git a/src/arch/x86/system.hh b/src/arch/x86/system.hh index 578110a7b..45bc9651c 100644 --- a/src/arch/x86/system.hh +++ b/src/arch/x86/system.hh @@ -44,11 +44,7 @@ #include <vector> #include "arch/x86/regs/misc.hh" -#include "base/loader/symtab.hh" -#include "cpu/pc_event.hh" -#include "kern/system_events.hh" #include "params/X86System.hh" -#include "sim/sim_object.hh" #include "sim/system.hh" namespace X86ISA diff --git a/src/arch/x86/tlb.cc b/src/arch/x86/tlb.cc index 2e24b20e5..a5e8f5524 100644 --- a/src/arch/x86/tlb.cc +++ b/src/arch/x86/tlb.cc @@ -45,17 +45,13 @@ #include "arch/generic/mmapped_ipr.hh" #include "arch/x86/faults.hh" #include "arch/x86/insts/microldstop.hh" -#include "arch/x86/pagetable.hh" #include "arch/x86/pagetable_walker.hh" #include "arch/x86/regs/misc.hh" #include "arch/x86/regs/msr.hh" #include "arch/x86/x86_traits.hh" -#include "base/bitfield.hh" #include "base/trace.hh" -#include "cpu/base.hh" #include "cpu/thread_context.hh" #include "debug/TLB.hh" -#include "mem/packet_access.hh" #include "mem/page_table.hh" #include "mem/request.hh" #include "sim/full_system.hh" diff --git a/src/arch/x86/tlb.hh b/src/arch/x86/tlb.hh index 53f61dcbc..a134ad427 100644 --- a/src/arch/x86/tlb.hh +++ b/src/arch/x86/tlb.hh @@ -41,20 +41,15 @@ #define __ARCH_X86_TLB_HH__ #include <list> -#include <string> #include <vector> #include "arch/generic/tlb.hh" -#include "arch/x86/regs/segment.hh" #include "arch/x86/pagetable.hh" #include "base/trie.hh" -#include "mem/mem_object.hh" #include "mem/request.hh" #include "params/X86TLB.hh" -#include "sim/sim_object.hh" class ThreadContext; -class Packet; namespace X86ISA { diff --git a/src/arch/x86/utility.cc b/src/arch/x86/utility.cc index ae0a833e6..33b53ca92 100644 --- a/src/arch/x86/utility.cc +++ b/src/arch/x86/utility.cc @@ -42,11 +42,10 @@ #include "arch/x86/interrupts.hh" #include "arch/x86/registers.hh" -#include "arch/x86/tlb.hh" #include "arch/x86/x86_traits.hh" #include "cpu/base.hh" #include "fputils/fp80.h" -#include "sim/system.hh" +#include "sim/full_system.hh" namespace X86ISA { diff --git a/src/arch/x86/utility.hh b/src/arch/x86/utility.hh index 87bed9762..87d5cbb6c 100644 --- a/src/arch/x86/utility.hh +++ b/src/arch/x86/utility.hh @@ -40,16 +40,10 @@ #ifndef __ARCH_X86_UTILITY_HH__ #define __ARCH_X86_UTILITY_HH__ -#include "arch/x86/regs/misc.hh" -#include "arch/x86/types.hh" -#include "base/misc.hh" -#include "base/types.hh" #include "cpu/static_inst.hh" #include "cpu/thread_context.hh" #include "sim/full_system.hh" -class ThreadContext; - namespace X86ISA { |