summary refs log tree commit diff stats
path: root/tests/libqos/rtas.h
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2016-09-29 12:32:44 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2016-10-06 16:15:40 +1100
commitcf716b31cba278a6dbff585d58fa29d1ae2fe334 (patch)
tree032a53f614772fee48a21bc215e379f7b6ad650c /tests/libqos/rtas.h
parent2020b67d851affd9dd8b3732a5290d90be6187d1 (diff)
downloadfocaccia-qemu-cf716b31cba278a6dbff585d58fa29d1ae2fe334.tar.gz
focaccia-qemu-cf716b31cba278a6dbff585d58fa29d1ae2fe334.zip
libqos: add PPC64 PCI support
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
[dwg: Fixed build problem on 32-bit hosts]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/libqos/rtas.h')
-rw-r--r--tests/libqos/rtas.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/libqos/rtas.h b/tests/libqos/rtas.h
index a1b60a8eb4..498eb19230 100644
--- a/tests/libqos/rtas.h
+++ b/tests/libqos/rtas.h
@@ -8,4 +8,8 @@
 #include "libqos/malloc.h"
 
 int qrtas_get_time_of_day(QGuestAllocator *alloc, struct tm *tm, uint32_t *ns);
+uint32_t qrtas_ibm_read_pci_config(QGuestAllocator *alloc, uint64_t buid,
+                                   uint32_t addr, uint32_t size);
+int qrtas_ibm_write_pci_config(QGuestAllocator *alloc, uint64_t buid,
+                               uint32_t addr, uint32_t size, uint32_t val);
 #endif /* LIBQOS_RTAS_H */