[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 7/7] pc: Cleanup the SGX definitions
From: |
Yang Zhong |
Subject: |
[PATCH 7/7] pc: Cleanup the SGX definitions |
Date: |
Wed, 8 Sep 2021 16:19:37 +0800 |
This patch only cleanup sgx definitions in the the pc.h file.
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
---
include/hw/i386/pc.h | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index a5ae380b4b..4c77489961 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -195,17 +195,18 @@ void pc_system_parse_ovmf_flash(uint8_t *flash_ptr,
size_t flash_size);
void pc_madt_cpu_entry(AcpiDeviceIf *adev, int uid,
const CPUArchIdList *apic_ids, GArray *entry);
+/* sgx.c */
+void pc_machine_init_sgx_epc(PCMachineState *pcms);
+/* hostmem-epc.c */
+void sgx_memory_backend_reset(HostMemoryBackend *backend, int fd,
+ Error **errp);
+
extern GlobalProperty pc_compat_6_1[];
extern const size_t pc_compat_6_1_len;
extern GlobalProperty pc_compat_6_0[];
extern const size_t pc_compat_6_0_len;
-/* sgx-epc.c */
-void pc_machine_init_sgx_epc(PCMachineState *pcms);
-void sgx_memory_backend_reset(HostMemoryBackend *backend, int fd,
- Error **errp);
-
extern GlobalProperty pc_compat_5_2[];
extern const size_t pc_compat_5_2_len;
- [PATCH 1/7] qmp: Add query-sgx command, (continued)
[PATCH 7/7] pc: Cleanup the SGX definitions,
Yang Zhong <=
[PATCH 6/7] monitor: Fix coredump issue in non-x86 platform, Yang Zhong, 2021/09/08