docs/system/s390x: Improve the 3270 documentation
[qemu/ar7.git] / include / hw / misc / bcm2835_thermal.h
blobc3651b27ec60193a5573e2dbe7c9ce2205778983
1 /*
2 * BCM2835 dummy thermal sensor
4 * Copyright (C) 2019 Philippe Mathieu-Daudé <f4bug@amsat.org>
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
9 #ifndef HW_MISC_BCM2835_THERMAL_H
10 #define HW_MISC_BCM2835_THERMAL_H
12 #include "hw/sysbus.h"
14 #define TYPE_BCM2835_THERMAL "bcm2835-thermal"
16 #define BCM2835_THERMAL(obj) \
17 OBJECT_CHECK(Bcm2835ThermalState, (obj), TYPE_BCM2835_THERMAL)
19 typedef struct {
20 /*< private >*/
21 SysBusDevice parent_obj;
22 /*< public >*/
23 MemoryRegion iomem;
24 uint32_t ctl;
25 } Bcm2835ThermalState;
27 #endif