1eeddd59fSLaurent Vivier /* 2eeddd59fSLaurent Vivier * This work is licensed under the terms of the GNU GPL, version 2 or later. 3eeddd59fSLaurent Vivier * See the COPYING file in the top-level directory. 4eeddd59fSLaurent Vivier */ 5eeddd59fSLaurent Vivier 6eeddd59fSLaurent Vivier #ifndef LIBQOS_RTAS_H 7eeddd59fSLaurent Vivier #define LIBQOS_RTAS_H 8*b243c73cSXuzhou Cheng #include "libqos-malloc.h" 9eeddd59fSLaurent Vivier 109b67af76SEric Blake int qrtas_get_time_of_day(QTestState *qts, QGuestAllocator *alloc, 119b67af76SEric Blake struct tm *tm, uint32_t *ns); 129b67af76SEric Blake uint32_t qrtas_ibm_read_pci_config(QTestState *qts, QGuestAllocator *alloc, 139b67af76SEric Blake uint64_t buid, uint32_t addr, uint32_t size); 149b67af76SEric Blake int qrtas_ibm_write_pci_config(QTestState *qts, QGuestAllocator *alloc, 159b67af76SEric Blake uint64_t buid, uint32_t addr, uint32_t size, 169b67af76SEric Blake uint32_t val); 17eeddd59fSLaurent Vivier #endif /* LIBQOS_RTAS_H */ 18