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

hostmem-epc.h (692B)


      1/*
      2 * SGX EPC backend
      3 *
      4 * Copyright (C) 2019 Intel Corporation
      5 *
      6 * Authors:
      7 *   Sean Christopherson <sean.j.christopherson@intel.com>
      8 *
      9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
     10 * See the COPYING file in the top-level directory.
     11 */
     12#ifndef QEMU_HOSTMEM_EPC_H
     13#define QEMU_HOSTMEM_EPC_H
     14
     15#include "sysemu/hostmem.h"
     16
     17#define TYPE_MEMORY_BACKEND_EPC "memory-backend-epc"
     18
     19#define MEMORY_BACKEND_EPC(obj)                                        \
     20    OBJECT_CHECK(HostMemoryBackendEpc, (obj), TYPE_MEMORY_BACKEND_EPC)
     21
     22typedef struct HostMemoryBackendEpc HostMemoryBackendEpc;
     23
     24struct HostMemoryBackendEpc {
     25    HostMemoryBackend parent_obj;
     26};
     27
     28#endif