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

virt_ctrl.h (344B)


      1/*
      2 * SPDX-License-Identifer: GPL-2.0-or-later
      3 *
      4 * Virt system Controller
      5 */
      6
      7#ifndef VIRT_CTRL_H
      8#define VIRT_CTRL_H
      9
     10#define TYPE_VIRT_CTRL "virt-ctrl"
     11OBJECT_DECLARE_SIMPLE_TYPE(VirtCtrlState, VIRT_CTRL)
     12
     13struct VirtCtrlState {
     14    SysBusDevice parent_obj;
     15
     16    MemoryRegion iomem;
     17    qemu_irq irq;
     18
     19    uint32_t irq_enabled;
     20};
     21
     22#endif