1 /* 2 * BCM2835 dummy thermal sensor 3 * 4 * Copyright (C) 2019 Philippe Mathieu-Daudé <f4bug@amsat.org> 5 * 6 * SPDX-License-Identifier: GPL-2.0-or-later 7 */ 8 9 #ifndef HW_MISC_BCM2835_THERMAL_H 10 #define HW_MISC_BCM2835_THERMAL_H 11 12 #include "hw/sysbus.h" 13 14 #define TYPE_BCM2835_THERMAL "bcm2835-thermal" 15 16 #define BCM2835_THERMAL(obj) \ 17 OBJECT_CHECK(Bcm2835ThermalState, (obj), TYPE_BCM2835_THERMAL) 18 19 typedef struct { 20 /*< private >*/ 21 SysBusDevice parent_obj; 22 /*< public >*/ 23 MemoryRegion iomem; 24 uint32_t ctl; 25 } Bcm2835ThermalState; 26 27 #endif 28