misc: Fix missing includes.

Change-Id: I545ff03041e8fe66dc489c6aa95c009e54df0970
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/38995
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Gabe Black
2021-01-11 22:40:19 -08:00
parent a7f3c5aad2
commit c6933a27da
11 changed files with 34 additions and 13 deletions

View File

@@ -39,18 +39,15 @@
#ifndef __ARCH_X86_PAGETABLE_HH__
#define __ARCH_X86_PAGETABLE_HH__
#include <iostream>
#include <string>
#include <vector>
#include <cstdint>
#include "arch/x86/isa_traits.hh"
#include "base/bitunion.hh"
#include "base/types.hh"
#include "base/trie.hh"
#include "debug/MMU.hh"
#include "mem/port_proxy.hh"
#include "sim/serialize.hh"
class Checkpoint;
class ThreadContext;
namespace X86ISA

View File

@@ -34,8 +34,8 @@
#include <vector>
#include "sim/core.hh"
#include "sim/serialize.hh"
class Checkpoint;
class PollQueue;
class PollEvent : public Serializable

View File

@@ -44,15 +44,17 @@
#include <sys/signal.h>
#include <cstdint>
#include <exception>
#include <map>
#include <string>
#include "arch/types.hh"
#include "base/intmath.hh"
#include "base/pollevent.hh"
#include "base/socket.hh"
#include "base/types.hh"
#include "cpu/pc_event.hh"
#include "sim/eventq.hh"
class System;
class ThreadContext;

View File

@@ -33,7 +33,9 @@
#define __BASE_TRACE_HH__
#include <string>
#include <sstream>
#include "base/compiler.hh"
#include "base/cprintf.hh"
#include "base/debug.hh"
#include "base/match.hh"

View File

@@ -43,11 +43,14 @@
#ifndef __CPU_TRAFFIC_GEN_BASE_GEN_HH__
#define __CPU_TRAFFIC_GEN_BASE_GEN_HH__
#include "base/bitfield.hh"
#include "base/intmath.hh"
#include <string>
#include "base/types.hh"
#include "mem/packet.hh"
#include "mem/request.hh"
class BaseTrafficGen;
class SimObject;
/**
* Base class for all generators, with the shared functionality and

View File

@@ -37,6 +37,7 @@
#include <string>
#include <vector>
#include "base/statistics.hh"
#include "gpu-compute/fetch_unit.hh"
// Instruction fetch stage.

View File

@@ -34,11 +34,15 @@
#ifndef __FETCH_UNIT_HH__
#define __FETCH_UNIT_HH__
#include <string>
#include <cassert>
#include <cstdint>
#include <deque>
#include <map>
#include <utility>
#include <vector>
#include "arch/gpu_decoder.hh"
#include "base/statistics.hh"
#include "base/types.hh"
#include "config/the_gpu_isa.hh"
#include "gpu-compute/scheduler.hh"
#include "mem/packet.hh"

View File

@@ -37,6 +37,7 @@
#include <string>
#include "base/types.hh"
#include "debug/MMU.hh"
#include "mem/page_table.hh"
#include "sim/system.hh"

View File

@@ -38,8 +38,14 @@
#ifndef __MEM_PHYSICAL_HH__
#define __MEM_PHYSICAL_HH__
#include <cstdint>
#include <string>
#include <vector>
#include "base/addr_range.hh"
#include "base/addr_range_map.hh"
#include "mem/packet.hh"
#include "sim/serialize.hh"
/**
* Forward declaration to avoid header dependencies.

View File

@@ -48,12 +48,16 @@
#ifndef __MEM_REQUEST_HH__
#define __MEM_REQUEST_HH__
#include <algorithm>
#include <cassert>
#include <climits>
#include <cstdint>
#include <functional>
#include <limits>
#include <memory>
#include <vector>
#include "base/amo.hh"
#include "base/flags.hh"
#include "base/logging.hh"
#include "base/types.hh"
#include "cpu/inst_seq.hh"
#include "mem/htm.hh"

View File

@@ -47,6 +47,7 @@
#define __MEM_RUBY_SLICC_INTERFACE_RUBYSLICC_UTIL_HH__
#include <cassert>
#include <climits>
#include "debug/RubySlicc.hh"
#include "mem/packet.hh"