2016-09-13 15:52:45 +03:00
|
|
|
/*
|
|
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
|
|
* See the COPYING file in the top-level directory.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LIBQOS_RTAS_H
|
|
|
|
#define LIBQOS_RTAS_H
|
|
|
|
#include "libqos/malloc.h"
|
|
|
|
|
2017-09-11 20:19:58 +03:00
|
|
|
int qrtas_get_time_of_day(QTestState *qts, QGuestAllocator *alloc,
|
|
|
|
struct tm *tm, uint32_t *ns);
|
|
|
|
uint32_t qrtas_ibm_read_pci_config(QTestState *qts, QGuestAllocator *alloc,
|
|
|
|
uint64_t buid, uint32_t addr, uint32_t size);
|
|
|
|
int qrtas_ibm_write_pci_config(QTestState *qts, QGuestAllocator *alloc,
|
|
|
|
uint64_t buid, uint32_t addr, uint32_t size,
|
|
|
|
uint32_t val);
|
2016-09-13 15:52:45 +03:00
|
|
|
#endif /* LIBQOS_RTAS_H */
|