diff options
| author | Laurent Vivier <lvivier@redhat.com> | 2016-09-29 12:32:44 +0200 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2016-10-06 16:15:40 +1100 |
| commit | cf716b31cba278a6dbff585d58fa29d1ae2fe334 (patch) | |
| tree | 032a53f614772fee48a21bc215e379f7b6ad650c /tests/libqos/rtas.h | |
| parent | 2020b67d851affd9dd8b3732a5290d90be6187d1 (diff) | |
| download | focaccia-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.h | 4 |
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 */ |