/* * BCM2835 dummy thermal sensor * * Copyright (C) 2019 Philippe Mathieu-Daudé * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef HW_MISC_BCM2835_THERMAL_H #define HW_MISC_BCM2835_THERMAL_H #include "hw/sysbus.h" #include "qom/object.h" #define TYPE_BCM2835_THERMAL "bcm2835-thermal" typedef struct Bcm2835ThermalState Bcm2835ThermalState; DECLARE_INSTANCE_CHECKER(Bcm2835ThermalState, BCM2835_THERMAL, TYPE_BCM2835_THERMAL) struct Bcm2835ThermalState { /*< private >*/ SysBusDevice parent_obj; /*< public >*/ MemoryRegion iomem; uint32_t ctl; }; #endif