summaryrefslogtreecommitdiffstats
path: root/tests/qtest/libqos/rtas.h
diff options
context:
space:
mode:
authorThomas Huth2019-09-10 16:41:20 +0200
committerThomas Huth2020-01-12 11:42:41 +0100
commit1cf4323ecd03235984e43a416a42f10c975cf785 (patch)
tree57ad5475a4cbbbe0088aecf86b682d8e11150b9f /tests/qtest/libqos/rtas.h
parenttests/Makefile: Move qtest-related settings to a separate Makefile.include (diff)
downloadqemu-1cf4323ecd03235984e43a416a42f10c975cf785.tar.gz
qemu-1cf4323ecd03235984e43a416a42f10c975cf785.tar.xz
qemu-1cf4323ecd03235984e43a416a42f10c975cf785.zip
tests/libqos: Move the libqos files under tests/qtest/
The qos stuff belongs to qtest, so move it into that directory, too. Message-Id: <20191218103059.11729-8-thuth@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/qtest/libqos/rtas.h')
-rw-r--r--tests/qtest/libqos/rtas.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/qtest/libqos/rtas.h b/tests/qtest/libqos/rtas.h
new file mode 100644
index 0000000000..459e23aaf4
--- /dev/null
+++ b/tests/qtest/libqos/rtas.h
@@ -0,0 +1,17 @@
+/*
+ * 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(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);
+#endif /* LIBQOS_RTAS_H */