2021-07-19 14:21:15 +03:00
|
|
|
#include "qemu/osdep.h"
|
|
|
|
#include "hw/i386/pc.h"
|
|
|
|
#include "hw/i386/sgx-epc.h"
|
2021-09-10 13:22:56 +03:00
|
|
|
#include "hw/i386/sgx.h"
|
|
|
|
|
|
|
|
SGXInfo *sgx_get_info(Error **errp)
|
|
|
|
{
|
|
|
|
error_setg(errp, "SGX support is not compiled in");
|
|
|
|
return NULL;
|
|
|
|
}
|
2021-07-19 14:21:15 +03:00
|
|
|
|
2021-09-10 13:22:57 +03:00
|
|
|
SGXInfo *sgx_get_capabilities(Error **errp)
|
|
|
|
{
|
|
|
|
error_setg(errp, "SGX support is not compiled in");
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2021-07-19 14:21:15 +03:00
|
|
|
void pc_machine_init_sgx_epc(PCMachineState *pcms)
|
|
|
|
{
|
|
|
|
memset(&pcms->sgx_epc, 0, sizeof(SGXEPCState));
|
|
|
|
}
|
|
|
|
|
|
|
|
int sgx_epc_get_section(int section_nr, uint64_t *addr, uint64_t *size)
|
|
|
|
{
|
|
|
|
g_assert_not_reached();
|
|
|
|
}
|