spapr_rng.c (684bb5770ec5d72a66620f64fc5d9672bf8d3509) spapr_rng.c (0d75590d919454be322f21d55494b8937651fc86)
1/*
2 * QEMU sPAPR random number generator "device" for H_RANDOM hypercall
3 *
4 * Copyright 2015 Thomas Huth, Red Hat Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License,
9 * or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 */
19
1/*
2 * QEMU sPAPR random number generator "device" for H_RANDOM hypercall
3 *
4 * Copyright 2015 Thomas Huth, Red Hat Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License,
9 * or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 */
19
20#include "qemu/osdep.h"
20#include "qemu/error-report.h"
21#include "sysemu/sysemu.h"
22#include "sysemu/device_tree.h"
23#include "sysemu/rng.h"
24#include "hw/ppc/spapr.h"
25#include "kvm_ppc.h"
26
27#define SPAPR_RNG(obj) \

--- 159 unchanged lines hidden ---
21#include "qemu/error-report.h"
22#include "sysemu/sysemu.h"
23#include "sysemu/device_tree.h"
24#include "sysemu/rng.h"
25#include "hw/ppc/spapr.h"
26#include "kvm_ppc.h"
27
28#define SPAPR_RNG(obj) \

--- 159 unchanged lines hidden ---