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

aspeed_rtc.h (514B)


      1/*
      2 * ASPEED Real Time Clock
      3 * Joel Stanley <joel@jms.id.au>
      4 *
      5 * Copyright 2019 IBM Corp
      6 * SPDX-License-Identifier: GPL-2.0-or-later
      7 */
      8#ifndef HW_RTC_ASPEED_RTC_H
      9#define HW_RTC_ASPEED_RTC_H
     10
     11#include "hw/sysbus.h"
     12#include "qom/object.h"
     13
     14struct AspeedRtcState {
     15    SysBusDevice parent_obj;
     16
     17    MemoryRegion iomem;
     18    qemu_irq irq;
     19
     20    uint32_t reg[0x18];
     21    int offset;
     22
     23};
     24
     25#define TYPE_ASPEED_RTC "aspeed.rtc"
     26OBJECT_DECLARE_SIMPLE_TYPE(AspeedRtcState, ASPEED_RTC)
     27
     28#endif /* HW_RTC_ASPEED_RTC_H */