QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
602 B
15 lines
602 B
/*
|
|
* 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"
|
|
|
|
int qrtas_get_time_of_day(QGuestAllocator *alloc, struct tm *tm, uint32_t *ns);
|
|
uint32_t qrtas_ibm_read_pci_config(QGuestAllocator *alloc, uint64_t buid,
|
|
uint32_t addr, uint32_t size);
|
|
int qrtas_ibm_write_pci_config(QGuestAllocator *alloc, uint64_t buid,
|
|
uint32_t addr, uint32_t size, uint32_t val);
|
|
#endif /* LIBQOS_RTAS_H */
|
|
|