ppc/xive: Add support for PQ state bits offload
[qemu.git] / include / hw / misc / bcm2835_powermgt.h
blob303b9a6f6847abfdeff001fcaa8aac7adb6e6385
1 /*
2 * BCM2835 Power Management emulation
4 * Copyright (C) 2017 Marcin Chojnacki <marcinch7@gmail.com>
5 * Copyright (C) 2021 Nolan Leake <nolan@sigbus.net>
7 * This work is licensed under the terms of the GNU GPL, version 2 or later.
8 * See the COPYING file in the top-level directory.
9 */
11 #ifndef BCM2835_POWERMGT_H
12 #define BCM2835_POWERMGT_H
14 #include "hw/sysbus.h"
15 #include "qom/object.h"
17 #define TYPE_BCM2835_POWERMGT "bcm2835-powermgt"
18 OBJECT_DECLARE_SIMPLE_TYPE(BCM2835PowerMgtState, BCM2835_POWERMGT)
20 struct BCM2835PowerMgtState {
21 SysBusDevice busdev;
22 MemoryRegion iomem;
24 uint32_t rstc;
25 uint32_t rsts;
26 uint32_t wdog;
29 #endif