misc: Fix a few accidental transitive includes.

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>
This commit is contained in:
Gabe Black
2020-10-20 19:50:28 -07:00
parent 368e5a492b
commit 7bcef5c048
8 changed files with 8 additions and 0 deletions

View 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"

View 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 {

View 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"

View 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;

View 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"

View 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"

View 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"

View 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"