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

fw_cfg-interface.c (561B)


      1/*
      2 * QEMU Firmware configuration device emulation (QOM interfaces)
      3 *
      4 * Copyright 2020 Red Hat, Inc.
      5 *
      6 * SPDX-License-Identifier: GPL-2.0-or-later
      7 */
      8
      9#include "qemu/osdep.h"
     10#include "hw/nvram/fw_cfg.h"
     11
     12static const TypeInfo fw_cfg_data_generator_interface_info = {
     13    .parent = TYPE_INTERFACE,
     14    .name = TYPE_FW_CFG_DATA_GENERATOR_INTERFACE,
     15    .class_size = sizeof(FWCfgDataGeneratorClass),
     16};
     17
     18static void fw_cfg_register_interfaces(void)
     19{
     20    type_register_static(&fw_cfg_data_generator_interface_info);
     21}
     22
     23type_init(fw_cfg_register_interfaces)