misc: Fix a few accidental transitive includes.
authorGabe Black <gabe.black@gmail.com>
Wed, 21 Oct 2020 02:50:28 +0000 (19:50 -0700)
committerGabe Black <gabe.black@gmail.com>
Wed, 21 Oct 2020 22:56:14 +0000 (22:56 +0000)
Some files depend on definitions from files that they weren't including
themselves. They were working accidentally by getting those definitions
transitively through other, unrelated headers.

Change-Id: I50c919a4eb6c4484d4ee6b7f4fe02f075132964d
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36282
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/riscv/pagetable.hh
src/arch/riscv/registers.hh
src/dev/arm/timer_a9global.hh
src/dev/ps2/mouse.hh
src/dev/x86/i8042.hh
src/mem/cache/compressors/dictionary_compressor.hh
src/mem/page_table.hh
src/sim/pseudo_inst.hh

index bb658055cf9e32bb6eb55cb413ffc3ab37721750..d3c123e25f80f03fa47ac3b08c2c7027ed857daa 100644 (file)
@@ -31,6 +31,7 @@
 #ifndef __ARCH_RISCV_PAGETABLE_H__
 #define __ARCH_RISCV_PAGETABLE_H__
 
+#include "base/bitunion.hh"
 #include "base/logging.hh"
 #include "base/trie.hh"
 #include "base/types.hh"
index 7ce59e32c4356b613f1f719ee988bde87420fc0a..ed8b9163a77cc95c10be519aafdb04fe6ff22f6c 100644 (file)
@@ -53,6 +53,7 @@
 #include "arch/generic/vec_pred_reg.hh"
 #include "arch/generic/vec_reg.hh"
 #include "arch/riscv/generated/max_inst_regs.hh"
+#include "base/bitunion.hh"
 #include "base/types.hh"
 
 namespace RiscvISA {
index aea02cb57dab66dedeb58769943cd9da8b9991c7..7a8cf85c8343ce7c908f122c6df844f18f4d7f96 100644 (file)
@@ -39,6 +39,7 @@
 #ifndef __DEV_ARM_GLOBAL_TIMER_HH__
 #define __DEV_ARM_GLOBAL_TIMER_HH__
 
+#include "base/bitunion.hh"
 #include "dev/io_device.hh"
 #include "params/A9GlobalTimer.hh"
 
index 7a1ef21c90c7b0c35463f839bf9010330f7f13f8..0a526dba7b507a6cd6b1884e6bbd777e5b40ba90 100644 (file)
@@ -41,6 +41,7 @@
 #ifndef __DEV_PS2_MOUSE_HH__
 #define __DEV_PS2_MOUSE_HH__
 
+#include "base/bitunion.hh"
 #include "dev/ps2/device.hh"
 
 struct PS2MouseParams;
index 10681da92d03c12acce38a16fd265ac9dd6d8027..4fc631169776dd2b771bd0dafb87e48d3ecd2601 100644 (file)
@@ -31,6 +31,7 @@
 
 #include <deque>
 
+#include "base/bitunion.hh"
 #include "dev/intpin.hh"
 #include "dev/io_device.hh"
 #include "dev/ps2/device.hh"
index bc9f49a1b552a7f49a2bffb26765793122f3b22e..5b8ca239c1cf0cbc3cfca48190b8f2c0958368b7 100644 (file)
@@ -51,6 +51,7 @@
 #include <type_traits>
 #include <vector>
 
+#include "base/bitfield.hh"
 #include "base/statistics.hh"
 #include "base/types.hh"
 #include "mem/cache/compressors/base.hh"
index 8b664f8e62c2838ecc0317e5ac29d9c2f3344af0..18ee18ac5d38461052ddb7f4341900b1aecd0c82 100644 (file)
@@ -38,6 +38,7 @@
 #include <string>
 #include <unordered_map>
 
+#include "base/bitfield.hh"
 #include "base/intmath.hh"
 #include "base/types.hh"
 #include "mem/request.hh"
index 8135ee0fcb284f02b8677b8761168c42fa4dd7b7..c32243ae2f68f6cde11fc36c6d20c1dad70e0d17 100644 (file)
@@ -47,6 +47,7 @@ class ThreadContext;
 
 #include "arch/pseudo_inst.hh"
 #include "arch/utility.hh"
+#include "base/bitfield.hh"
 #include "base/types.hh" // For Tick and Addr data types.
 #include "debug/PseudoInst.hh"
 #include "sim/guest_abi.hh"