summaryrefslogtreecommitdiff
path: root/src/dev/virtio
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:37 -0600
committerBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:37 -0600
commit7a8dda49a4ec33be17bbd101ebd68e02562b9c3d (patch)
tree98b3bb80b66ebe424af78671c604bf0483f3db2d /src/dev/virtio
parent63bb17e4bd1d37aa22a87a9614957ce1302f95a9 (diff)
downloadgem5-7a8dda49a4ec33be17bbd101ebd68e02562b9c3d.tar.xz
style: [patch 1/22] use /r/3648/ to reorganize includes
Diffstat (limited to 'src/dev/virtio')
-rw-r--r--src/dev/virtio/base.cc3
-rw-r--r--src/dev/virtio/block.cc3
-rw-r--r--src/dev/virtio/console.cc4
-rw-r--r--src/dev/virtio/fs9p.cc7
-rw-r--r--src/dev/virtio/pci.cc3
5 files changed, 12 insertions, 8 deletions
diff --git a/src/dev/virtio/base.cc b/src/dev/virtio/base.cc
index 05c1edd62..f098784d0 100644
--- a/src/dev/virtio/base.cc
+++ b/src/dev/virtio/base.cc
@@ -37,8 +37,9 @@
* Authors: Andreas Sandberg
*/
-#include "debug/VIO.hh"
#include "dev/virtio/base.hh"
+
+#include "debug/VIO.hh"
#include "params/VirtIODeviceBase.hh"
VirtDescriptor::VirtDescriptor(PortProxy &_memProxy, VirtQueue &_queue,
diff --git a/src/dev/virtio/block.cc b/src/dev/virtio/block.cc
index 2b511e2f3..a602c3e29 100644
--- a/src/dev/virtio/block.cc
+++ b/src/dev/virtio/block.cc
@@ -37,8 +37,9 @@
* Authors: Andreas Sandberg
*/
-#include "debug/VIOBlock.hh"
#include "dev/virtio/block.hh"
+
+#include "debug/VIOBlock.hh"
#include "params/VirtIOBlock.hh"
#include "sim/system.hh"
diff --git a/src/dev/virtio/console.cc b/src/dev/virtio/console.cc
index 70b53c185..e3428e951 100644
--- a/src/dev/virtio/console.cc
+++ b/src/dev/virtio/console.cc
@@ -37,12 +37,12 @@
* Authors: Andreas Sandberg
*/
-#include "debug/VIOConsole.hh"
#include "dev/virtio/console.hh"
+
+#include "debug/VIOConsole.hh"
#include "params/VirtIOConsole.hh"
#include "sim/system.hh"
-
VirtIOConsole::VirtIOConsole(Params *params)
: VirtIODeviceBase(params, ID_CONSOLE, sizeof(Config), F_SIZE),
qRecv(params->system->physProxy, params->qRecvSize, *this),
diff --git a/src/dev/virtio/fs9p.cc b/src/dev/virtio/fs9p.cc
index 2006006db..a8d1ee779 100644
--- a/src/dev/virtio/fs9p.cc
+++ b/src/dev/virtio/fs9p.cc
@@ -37,16 +37,17 @@
* Authors: Andreas Sandberg
*/
+#include "dev/virtio/fs9p.hh"
+
+#include <fcntl.h>
+#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
-#include <fcntl.h>
-#include <netdb.h>
#include <unistd.h>
#include "debug/VIO9P.hh"
#include "debug/VIO9PData.hh"
-#include "dev/virtio/fs9p.hh"
#include "params/VirtIO9PBase.hh"
#include "params/VirtIO9PDiod.hh"
#include "params/VirtIO9PProxy.hh"
diff --git a/src/dev/virtio/pci.cc b/src/dev/virtio/pci.cc
index fb0735eba..29b92948d 100644
--- a/src/dev/virtio/pci.cc
+++ b/src/dev/virtio/pci.cc
@@ -37,8 +37,9 @@
* Authors: Andreas Sandberg
*/
-#include "debug/VIOPci.hh"
#include "dev/virtio/pci.hh"
+
+#include "debug/VIOPci.hh"
#include "mem/packet_access.hh"
#include "params/PciVirtIO.hh"