From 139c97c9772be38577eaa52af5d1ef3607da4bcb Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Thu, 10 Dec 2015 10:35:15 +0000 Subject: dev: Move existing PCI device functionality to src/dev/pci Move pcidev.(hh|cc) to src/dev/pci/device.(hh|cc) and update existing devices to use the new header location. This also renames the PCIDEV debug flag to have a capitalization that is consistent with the PCI host and other devices. --HG-- rename : src/dev/Pci.py => src/dev/pci/PciDevice.py rename : src/dev/pcidev.cc => src/dev/pci/device.cc rename : src/dev/pcidev.hh => src/dev/pci/device.hh rename : src/dev/pcireg.h => src/dev/pci/pcireg.h --- src/dev/virtio/VirtIO.py | 2 +- src/dev/virtio/pci.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dev/virtio') diff --git a/src/dev/virtio/VirtIO.py b/src/dev/virtio/VirtIO.py index 13479a383..81bf6e3b8 100644 --- a/src/dev/virtio/VirtIO.py +++ b/src/dev/virtio/VirtIO.py @@ -41,7 +41,7 @@ from m5.SimObject import SimObject from m5.params import * from m5.proxy import * from Device import PioDevice -from Pci import PciDevice +from PciDevice import PciDevice class VirtIODeviceBase(SimObject): diff --git a/src/dev/virtio/pci.hh b/src/dev/virtio/pci.hh index be5a140e2..dcac7c592 100644 --- a/src/dev/virtio/pci.hh +++ b/src/dev/virtio/pci.hh @@ -42,7 +42,7 @@ #include "base/statistics.hh" #include "dev/virtio/base.hh" -#include "dev/pcidev.hh" +#include "dev/pci/device.hh" struct PciVirtIOParams; -- cgit v1.2.3