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 8eeddd59fSLaurent Vivier #include "libqos/malloc.h" 9eeddd59fSLaurent Vivier 10*9b67af76SEric Blake int qrtas_get_time_of_day(QTestState *qts, QGuestAllocator *alloc, 11*9b67af76SEric Blake struct tm *tm, uint32_t *ns); 12*9b67af76SEric Blake uint32_t qrtas_ibm_read_pci_config(QTestState *qts, QGuestAllocator *alloc, 13*9b67af76SEric Blake uint64_t buid, uint32_t addr, uint32_t size); 14*9b67af76SEric Blake int qrtas_ibm_write_pci_config(QTestState *qts, QGuestAllocator *alloc, 15*9b67af76SEric Blake uint64_t buid, uint32_t addr, uint32_t size, 16*9b67af76SEric Blake uint32_t val); 17eeddd59fSLaurent Vivier #endif /* LIBQOS_RTAS_H */ 18