diff options
author | Grzegorz Jaszczyk <jaz@semihalf.com> | 2019-07-16 14:13:46 +0200 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2019-10-17 12:42:48 +0100 |
commit | e0d9d30b73548fbfe5c024ed630169bdc9a08aee (patch) | |
tree | 835d3cd58be17e18abaf4edefb36c52ab7d3a93d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e078723f9cccd509482fd7f30a4afb1125ca7a2a (diff) |
PCI: pci-bridge-emul: Fix big-endian support
Perform conversion to little-endian before every write to configuration
space and convert it back to CPU endianness on reads.
Additionally, initialise every multiple byte field of config space with
the cpu_to_le* macro, which is required since the structure describing
config space of emulated bridge assumes little-endian convention.
Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions