diff options
author | Gabe Black <gabeblack@google.com> | 2018-10-11 17:57:20 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-10-17 20:16:06 +0000 |
commit | 7d719bc81191f74149fabf536a0cfc573c172a26 (patch) | |
tree | 73e5e8e0919d93f67c747d67a82fdb99fcc93c58 | |
parent | 1c508a206f9e91aad52ef6b009940f622884f58a (diff) | |
download | gem5-7d719bc81191f74149fabf536a0cfc573c172a26.tar.xz |
dev: Build the PCI device models even in NULL_ISA builds.
There are some minor ISA dependencies in the PCI device models,
specifically that they use the set<> accessors on the packet objects.
This actually compiles fine because the NULL ISA claims to be little
endian, but really these accessors should be changed to use little
endian all the time since that's what PCI is defined to use, not
the guest endianness.
The other types of accessors, specifically the ones that default to
what the guest wants, should be excluded when building NULL_ISA, and,
pending other dependencies, the NULL_ISA should no longer have an
endianness associated with it.
Change-Id: I0739122dbf67d109e7959553a1eff0239b090ca4
Reviewed-on: https://gem5-review.googlesource.com/c/13468
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
-rw-r--r-- | src/dev/pci/SConscript | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/dev/pci/SConscript b/src/dev/pci/SConscript index 2c48403f8..56c06dda5 100644 --- a/src/dev/pci/SConscript +++ b/src/dev/pci/SConscript @@ -44,9 +44,6 @@ Import('*') -if env['TARGET_ISA'] == 'null': - Return() - SimObject('PciDevice.py') Source('device.cc') DebugFlag('PciDevice') |