xref: /openbmc/qemu/include/hw/i386/hostmem-epc.h (revision 2f95279a)
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 
22 typedef struct HostMemoryBackendEpc HostMemoryBackendEpc;
23 
24 struct HostMemoryBackendEpc {
25     HostMemoryBackend parent_obj;
26 };
27 
28 #endif
29