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