ui: fix icon display for GTK frontend under GNOME Shell with Wayland
[qemu/ar7.git] / include / hw / misc / mps2-scc.h
blob7045473788b711d202e5b2784ab74f95f41f91e8
1 /*
2 * ARM MPS2 SCC emulation
4 * Copyright (c) 2017 Linaro Limited
5 * Written by Peter Maydell
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 or
9 * (at your option) any later version.
12 #ifndef MPS2_SCC_H
13 #define MPS2_SCC_H
15 #include "hw/sysbus.h"
17 #define TYPE_MPS2_SCC "mps2-scc"
18 #define MPS2_SCC(obj) OBJECT_CHECK(MPS2SCC, (obj), TYPE_MPS2_SCC)
20 #define NUM_OSCCLK 3
22 typedef struct {
23 /*< private >*/
24 SysBusDevice parent_obj;
26 /*< public >*/
27 MemoryRegion iomem;
29 uint32_t cfg0;
30 uint32_t cfg1;
31 uint32_t cfg4;
32 uint32_t cfgdata_rtn;
33 uint32_t cfgdata_out;
34 uint32_t cfgctrl;
35 uint32_t cfgstat;
36 uint32_t dll;
37 uint32_t aid;
38 uint32_t id;
39 uint32_t oscclk[NUM_OSCCLK];
40 uint32_t oscclk_reset[NUM_OSCCLK];
41 } MPS2SCC;
43 #endif