Hello,
These are the follow-ups for 1.5 to permanently fix qtest endianness issues.
Based on my for-1.4 series plus for-1.4 @value patch.
v3 implements the endian fixes the new functions were supposed to address
and cleans up existing macros to align with the new inline functions.
Regards,
Andreas
v2 - v3:
* Split off libi2c-omap endianness fix and strtoul() into dedicated for-1.4
series.
* Compile qtest.c per target to allow target-specific byte swapping.
* Rebased onto libqtest.h documentation fix for 1.4.
* Inserted patches that convert all macros to inline functions.
* Added gtk-doc documentation for functions and for protocol commands.
* Update m48t59-test.c to use readb/writeb as well.
v1 - v2:
* Rename helpers from omap_i2c_{read,write}16() to {read,write}w().
* Clarify STAT vs. DATA, add an assertion to avoid unused variable warning.
* Add patch with debug output for tmp105.c.
* Add patch with strtoul() cleanups.
* Add proposal for QTest-level {read,write}w support.
Cc: Anthony Liguori anth...@codemonkey.ws
Cc: Blue Swirl blauwir...@gmail.com
Cc: Alexander Graf ag...@suse.de
Cc: Peter Maydell peter.mayd...@linaro.org
Andreas Färber (5):
tmp105-test: Combine assertions of 16-bit responses
tmp105: Add debug output
libqtest: Convert macros to functions and clean up documentation
libqtest: Introduce qtest_qmpv() and convert remaining macro
qtest: Add MMIO support
Makefile.objs |1 -
Makefile.target |1 +
hw/tmp105.c | 27 +++-
qtest.c | 81
tests/libi2c-omap.c | 23
tests/libqtest.c| 76 ++-
tests/libqtest.h| 366 ---
tests/m48t59-test.c |7 +-
tests/tmp105-test.c |8 +-
9 Dateien geändert, 500 Zeilen hinzugefügt(+), 90 Zeilen entfernt(-)
--
1.7.10.4