This patch only cleanup sgx definitions in the the pc.h file. Signed-off-by: Yang Zhong <yang.zh...@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;