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
This commit is contained in:
Andreas Sandberg
2015-12-10 10:35:15 +00:00
parent 2d79bf3d4d
commit 139c97c977
18 changed files with 38 additions and 32 deletions

View File

@@ -12,6 +12,9 @@
# unmodified and in its entirety in all distributions of the software,
# modified or unmodified, in source code or in binary form.
#
# Copyright (c) 2006 The Regents of The University of Michigan
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met: redistributions of source code must retain the above copyright
@@ -35,14 +38,20 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Authors: Andreas Sandberg
# Authors: Steve Reinhardt
# Gabe Black
# Andreas Sandberg
Import('*')
if env['TARGET_ISA'] == 'null':
Return()
SimObject('PciDevice.py')
Source('device.cc')
DebugFlag('PciDevice')
SimObject('PciHost.py')
Source('host.cc')
DebugFlag('PciHost')