misc: Fix some includes

Fix some missing and extra includes around the codebase.

Change-Id: Ibf314b43a966943a8096958f68382e1e245f29e3
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/38738
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Daniel R. Carvalho
2020-12-27 13:35:48 -03:00
committed by Daniel Carvalho
parent f213abb63a
commit 3a8df68388
68 changed files with 178 additions and 41 deletions

View File

@@ -48,10 +48,14 @@
#ifndef __DEV_DIST_ETHERLINK_HH__
#define __DEV_DIST_ETHERLINK_HH__
#include <cassert>
#include <iostream>
#include "base/types.hh"
#include "dev/net/etherlink.hh"
#include "params/DistEtherLink.hh"
#include "sim/serialize.hh"
#include "sim/sim_object.hh"
class DistIface;
class EthPacketData;

View File

@@ -44,11 +44,13 @@
#include "dev/net/etherlink.hh"
#include <cassert>
#include <cmath>
#include <deque>
#include <string>
#include <vector>
#include "base/logging.hh"
#include "base/random.hh"
#include "base/trace.hh"
#include "debug/Ethernet.hh"

View File

@@ -46,6 +46,7 @@
#define __DEV_NET_ETHERLINK_HH__
#include <queue>
#include <utility>
#include "base/types.hh"
#include "dev/net/etherint.hh"

View File

@@ -35,6 +35,8 @@
#include <map>
#include <set>
#include <string>
#include <vector>
#include "base/inet.hh"
#include "dev/net/etherint.hh"
@@ -43,6 +45,7 @@
#include "dev/net/pktfifo.hh"
#include "params/EtherSwitch.hh"
#include "sim/eventq.hh"
#include "sim/serialize.hh"
#include "sim/sim_object.hh"
class EtherSwitch : public SimObject

View File

@@ -33,10 +33,13 @@
#ifndef __DEV_NET_I8254XGBE_HH__
#define __DEV_NET_I8254XGBE_HH__
#include <cstdint>
#include <deque>
#include <string>
#include "base/inet.hh"
#include "base/trace.hh"
#include "base/types.hh"
#include "debug/EthernetDesc.hh"
#include "debug/EthernetIntr.hh"
#include "dev/net/etherdevice.hh"
@@ -47,6 +50,7 @@
#include "dev/pci/device.hh"
#include "params/IGbE.hh"
#include "sim/eventq.hh"
#include "sim/serialize.hh"
class IGbEInt;