Laurent Vivier | eeddd59 | 2016-09-13 14:52:45 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This work is licensed under the terms of the GNU GPL, version 2 or later. |
| 3 | * See the COPYING file in the top-level directory. |
| 4 | */ |
| 5 | |
| 6 | #ifndef LIBQOS_RTAS_H |
| 7 | #define LIBQOS_RTAS_H |
| 8 | #include "libqos/malloc.h" |
| 9 | |
Eric Blake | 9b67af7 | 2017-09-11 12:19:58 -0500 | [diff] [blame] | 10 | int qrtas_get_time_of_day(QTestState *qts, QGuestAllocator *alloc, |
| 11 | struct tm *tm, uint32_t *ns); |
| 12 | uint32_t qrtas_ibm_read_pci_config(QTestState *qts, QGuestAllocator *alloc, |
| 13 | uint64_t buid, uint32_t addr, uint32_t size); |
| 14 | int qrtas_ibm_write_pci_config(QTestState *qts, QGuestAllocator *alloc, |
| 15 | uint64_t buid, uint32_t addr, uint32_t size, |
| 16 | uint32_t val); |
Laurent Vivier | eeddd59 | 2016-09-13 14:52:45 +0200 | [diff] [blame] | 17 | #endif /* LIBQOS_RTAS_H */ |