cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

bcm2835_thermal.h (536B)


      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#include "qom/object.h"
     14
     15#define TYPE_BCM2835_THERMAL "bcm2835-thermal"
     16
     17OBJECT_DECLARE_SIMPLE_TYPE(Bcm2835ThermalState, BCM2835_THERMAL)
     18
     19struct Bcm2835ThermalState {
     20    /*< private >*/
     21    SysBusDevice parent_obj;
     22    /*< public >*/
     23    MemoryRegion iomem;
     24    uint32_t ctl;
     25};
     26
     27#endif