diff options
author | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:40 -0600 |
---|---|---|
committer | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:40 -0600 |
commit | a928a438b8a005e5b6059bc5db0687bf64abcfa6 (patch) | |
tree | 4a69371c4f8efdfe784bce80a63e58f8ace665cc /src/arch/riscv | |
parent | 93d8e6b898a70a3f6dba9da385d5933683bf325f (diff) | |
download | gem5-a928a438b8a005e5b6059bc5db0687bf64abcfa6.tar.xz |
style: [patch 3/22] reduce include dependencies in some headers
Used cppclean to help identify useless includes and removed them. This
involved erroneously included headers, but also cases where forward
declarations could have been used rather than a full include.
Diffstat (limited to 'src/arch/riscv')
-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 |
3 files changed, 3 insertions, 0 deletions
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; |