arch: Stop using switching header files in ISA specific files.
authorGabe Black <gabe.black@gmail.com>
Fri, 29 Jan 2021 06:46:26 +0000 (22:46 -0800)
committerGabe Black <gabe.black@gmail.com>
Sun, 31 Jan 2021 10:54:45 +0000 (10:54 +0000)
We know what ISA we want, we don't need to use the indirection.

Change-Id: I57eb2737bb4d9abb562b857ad2c3238c641199d2
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40104
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>

src/arch/arm/insts/tme64ruby.cc
src/arch/arm/kvm/arm_cpu.cc
src/arch/mips/locked_mem.hh
src/arch/null/registers.hh
src/arch/power/decoder.hh
src/arch/riscv/locked_mem.hh
src/arch/sparc/decoder.hh

index f8d948197006b1a687d6223a2610e8825fc30d5f..5e22debe86e3271b88578a5e5c6b09310a8c9be9 100644 (file)
@@ -38,9 +38,9 @@
 #include "arch/arm/faults.hh"
 #include "arch/arm/htm.hh"
 #include "arch/arm/insts/tme64.hh"
+#include "arch/arm/locked_mem.hh"
 #include "arch/arm/registers.hh"
 #include "arch/generic/memhelpers.hh"
-#include "arch/locked_mem.hh"
 #include "debug/ArmTme.hh"
 #include "mem/packet_access.hh"
 #include "mem/request.hh"
index f674c7e58e784bd898980aca5d8610fd349c4d0e..e827c2272f628f6fbea073c19cdbbb5f188cfffe 100644 (file)
@@ -44,7 +44,7 @@
 #include <memory>
 
 #include "arch/arm/interrupts.hh"
-#include "arch/registers.hh"
+#include "arch/arm/registers.hh"
 #include "cpu/kvm/base.hh"
 #include "debug/Kvm.hh"
 #include "debug/KvmContext.hh"
index 153a991b66d5aeab450e559b39a44368064b0457..73180afc2eacc1e1ad20ac7d152283f563db87ed 100644 (file)
@@ -47,7 +47,7 @@
  * ISA-specific helper functions for locked memory accesses.
  */
 
-#include "arch/registers.hh"
+#include "arch/mips/registers.hh"
 #include "base/logging.hh"
 #include "base/trace.hh"
 #include "cpu/base.hh"
index db02afcf31d16b67f48333d9d77e56ea6fc7be72..3e96472dff5eaaefc04985c7d81c5b937105ea9e 100644 (file)
@@ -40,7 +40,7 @@
 
 #include "arch/generic/vec_pred_reg.hh"
 #include "arch/generic/vec_reg.hh"
-#include "arch/types.hh"
+#include "arch/null/types.hh"
 #include "base/types.hh"
 
 namespace NullISA {
index 2951e4d31880072a8fd81dfd67d43c777fa627f9..c76ffd9a0f0f13a061fb396ae38dfe54968f42d9 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "arch/generic/decode_cache.hh"
 #include "arch/generic/decoder.hh"
-#include "arch/types.hh"
+#include "arch/power/types.hh"
 #include "cpu/static_inst.hh"
 
 namespace PowerISA
index 10d1839d8532534395c40011316a30d8952bee9f..3a9578007e29a56e2d5f5b504de3862e7cb36d48 100644 (file)
@@ -49,7 +49,7 @@
 #include <stack>
 #include <unordered_map>
 
-#include "arch/registers.hh"
+#include "arch/riscv/registers.hh"
 #include "base/logging.hh"
 #include "base/trace.hh"
 #include "cpu/base.hh"
index 5b30a8218898efd560db98161c8988a09a70350a..e8267fe698337755b4877d3561f3ba1d3098229f 100644 (file)
@@ -32,7 +32,7 @@
 #include "arch/generic/decode_cache.hh"
 #include "arch/generic/decoder.hh"
 #include "arch/sparc/registers.hh"
-#include "arch/types.hh"
+#include "arch/sparc/types.hh"
 #include "cpu/static_inst.hh"
 
 namespace SparcISA