11cf4323eSThomas Huth /* 21cf4323eSThomas Huth * This work is licensed under the terms of the GNU GPL, version 2 or later. 31cf4323eSThomas Huth * See the COPYING file in the top-level directory. 41cf4323eSThomas Huth */ 51cf4323eSThomas Huth 61cf4323eSThomas Huth #ifndef LIBQOS_RTAS_H 71cf4323eSThomas Huth #define LIBQOS_RTAS_H 8*b243c73cSXuzhou Cheng #include "libqos-malloc.h" 91cf4323eSThomas Huth 101cf4323eSThomas Huth int qrtas_get_time_of_day(QTestState *qts, QGuestAllocator *alloc, 111cf4323eSThomas Huth struct tm *tm, uint32_t *ns); 121cf4323eSThomas Huth uint32_t qrtas_ibm_read_pci_config(QTestState *qts, QGuestAllocator *alloc, 131cf4323eSThomas Huth uint64_t buid, uint32_t addr, uint32_t size); 141cf4323eSThomas Huth int qrtas_ibm_write_pci_config(QTestState *qts, QGuestAllocator *alloc, 151cf4323eSThomas Huth uint64_t buid, uint32_t addr, uint32_t size, 161cf4323eSThomas Huth uint32_t val); 171cf4323eSThomas Huth #endif /* LIBQOS_RTAS_H */ 18