rtas.c (981c9b88e674408a1579ca3aa8d42770e3b689de) rtas.c (a2ce7dbd917a18408cf4bfd132578b46c2752a72)
1/*
2 * This work is licensed under the terms of the GNU GPL, version 2 or later.
3 * See the COPYING file in the top-level directory.
4 */
5
6#include "qemu/osdep.h"
7#include "libqtest.h"
1/*
2 * This work is licensed under the terms of the GNU GPL, version 2 or later.
3 * See the COPYING file in the top-level directory.
4 */
5
6#include "qemu/osdep.h"
7#include "libqtest.h"
8#include "libqos/rtas.h"
8#include "rtas.h"
9
10static void qrtas_copy_args(QTestState *qts, uint64_t target_args,
11 uint32_t nargs, uint32_t *args)
12{
13 int i;
14
15 for (i = 0; i < nargs; i++) {
16 qtest_writel(qts, target_args + i * sizeof(uint32_t), args[i]);

--- 104 unchanged lines hidden ---
9
10static void qrtas_copy_args(QTestState *qts, uint64_t target_args,
11 uint32_t nargs, uint32_t *args)
12{
13 int i;
14
15 for (i = 0; i < nargs; i++) {
16 qtest_writel(qts, target_args + i * sizeof(uint32_t), args[i]);

--- 104 unchanged lines hidden ---