misc: Fix missing includes.
authorGabe Black <gabe.black@gmail.com>
Tue, 12 Jan 2021 06:40:19 +0000 (22:40 -0800)
committerGabe Black <gabe.black@gmail.com>
Wed, 13 Jan 2021 08:55:59 +0000 (08:55 +0000)
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>
src/arch/x86/pagetable.hh
src/base/pollevent.hh
src/base/remote_gdb.hh
src/base/trace.hh
src/cpu/testers/traffic_gen/base_gen.hh
src/gpu-compute/fetch_stage.hh
src/gpu-compute/fetch_unit.hh
src/mem/multi_level_page_table.hh
src/mem/physical.hh
src/mem/request.hh
src/mem/ruby/slicc_interface/RubySlicc_Util.hh

index 803d0de6c77c7f9e6b11911b679f473c29902c9d..36dffd73f780cea66d85352766c69402f6c37bd6 100644 (file)
 #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
index 28e16a6106141417d222de3df4bb9b3d659ca9ef..5efa4fd4a21be29944f2466a84ae170a6c46c340 100644 (file)
@@ -34,8 +34,8 @@
 #include <vector>
 
 #include "sim/core.hh"
+#include "sim/serialize.hh"
 
-class Checkpoint;
 class PollQueue;
 
 class PollEvent : public Serializable
index 3ab0feb02d3737bcbcc179bc6c60706f63cc05b1..c71abfea31ebb17eb7d8a80b73a1c6a53b6ac1f1 100644 (file)
 
 #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;
index aafb9c8e434f5b31028403d3c8dce0297d82f45e..34997ed70afbd16122faac30cdbba7a2ea4ff2c1 100644 (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"
index ab9d3856e864ae7ce70df85ff3c8379700d8b642..8d5003336c35145d61b4162fa8878e8acabe55a3 100644 (file)
 #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
index 16c35d8c721390ba7de4ffe0344dbbf82572a673..8e6996b17e4d56ef52b1a903f5633c19daa68c68 100644 (file)
@@ -37,6 +37,7 @@
 #include <string>
 #include <vector>
 
+#include "base/statistics.hh"
 #include "gpu-compute/fetch_unit.hh"
 
 // Instruction fetch stage.
index ad341b3ee97e4d803d1a9623f04b19fee3e4ccea..11583fb481f29c1dec8f695e141c40b44aa0c25a 100644 (file)
 #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"
index 3d9ca9b586dfca9963ddc9c4843098facc10e858..afa67d0546421ae0fe889320a2ac2eb697ff4440 100644 (file)
@@ -37,6 +37,7 @@
 #include <string>
 
 #include "base/types.hh"
+#include "debug/MMU.hh"
 #include "mem/page_table.hh"
 #include "sim/system.hh"
 
index 9d4ff9a7b74d8e6e72ecee174550e67bbc3efbbd..3e8ba283b0f00c9bb8c1381cca1b3117f0012b06 100644 (file)
 #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.
index 79cb724f7ca6b31b810ec7ba1cb5a3b73d33b5c7..38b64fd8ae53e8c0c5420393a9defcf92dd1861d 100644 (file)
 #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"
index b56842520decf7990a75ef09a4fe9e9ef64d0fd8..f7f8a013d6b1bd8ac0059d38ee750affa75db51e 100644 (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"