diff options
Diffstat (limited to 'src/dev/virtio')
-rw-r--r-- | src/dev/virtio/base.cc | 3 | ||||
-rw-r--r-- | src/dev/virtio/block.cc | 3 | ||||
-rw-r--r-- | src/dev/virtio/console.cc | 4 | ||||
-rw-r--r-- | src/dev/virtio/fs9p.cc | 7 | ||||
-rw-r--r-- | src/dev/virtio/pci.cc | 3 |
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" |