summaryrefslogtreecommitdiffstats
path: root/tests/m48t59-test.c
Commit message (Collapse)AuthorAgeFilesLines
* qtest: Add MMIO supportAndreas Färber2013-02-181-5/+2
| | | | | | | | | | | | | Introduce [qtest_]{read,write}[bwlq]() libqtest functions and corresponding QTest protocol commands to replace local versions in libi2c-omap.c. Also convert m48t59-test's cmos_{read,write}_mmio() to {read,write}b(). Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Andreas Färber <afaerber@suse.de> Message-id: 1361051043-27944-4-git-send-email-afaerber@suse.de Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* tests: Fix {rtc, m48t59}-test build on illumosAndreas Färber2013-01-301-0/+2
| | | | | | | | | Struct tm does not have tm_gmtoff field on illumos. Fix the build by not zero-initializing these fields on Solaris. Cc: qemu-stable@nongnu.org Signed-off-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
* m48t59-test: don't touch watchdogGerd Hoffmann2013-01-101-0/+5
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* qtest: add m48t59 tests for SparcBlue Swirl2012-04-211-0/+259
Add simple m48t59 qtests, enable test only for Sparc32 and Sparc64. On PPC, the device is behind PCI bus. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
OpenPOWER on IntegriCloud