MAINTAINERS: Cover docs/igd-assign.txt in VFIO section
[qemu/ar7.git] / include / hw / misc / imx_rngc.h
blob34ad699225966e31e3d070ad969f55bbedb44263
1 /*
2 * Freescale i.MX RNGC emulation
4 * Copyright (C) 2020 Martin Kaiser <martin@kaiser.cx>
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
10 #ifndef IMX_RNGC_H
11 #define IMX_RNGC_H
13 #include "hw/sysbus.h"
14 #include "qom/object.h"
16 #define TYPE_IMX_RNGC "imx.rngc"
17 OBJECT_DECLARE_SIMPLE_TYPE(IMXRNGCState, IMX_RNGC)
19 struct IMXRNGCState {
20 /*< private >*/
21 SysBusDevice parent_obj;
23 /*< public >*/
24 MemoryRegion iomem;
26 uint8_t op_self_test;
27 uint8_t op_seed;
28 uint8_t mask;
29 bool auto_seed;
31 QEMUBH *self_test_bh;
32 QEMUBH *seed_bh;
33 qemu_irq irq;
36 #endif /* IMX_RNGC_H */