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