Searched refs:sgx_epc (Results 1 – 9 of 9) sorted by relevance
/qemu/hw/i386/ |
H A D | sgx.c | 131 for (j = 0; j < pcms->sgx_epc.nr_sections; j++) { in sgx_epc_reset() 132 epc = pcms->sgx_epc.sections[j]; in sgx_epc_reset() 272 if (pcms->sgx_epc.size == 0 || pcms->sgx_epc.nr_sections <= section_nr) { in sgx_epc_get_section() 276 epc = pcms->sgx_epc.sections[section_nr]; in sgx_epc_get_section() 286 SGXEPCState *sgx_epc = &pcms->sgx_epc; in pc_machine_init_sgx_epc() local 290 memset(sgx_epc, 0, sizeof(SGXEPCState)); in pc_machine_init_sgx_epc() 298 memory_region_add_subregion(get_system_memory(), sgx_epc->base, in pc_machine_init_sgx_epc() 299 &sgx_epc->mr); in pc_machine_init_sgx_epc() 313 if ((sgx_epc->base + sgx_epc->size) < sgx_epc->base) { in pc_machine_init_sgx_epc() 315 sgx_epc->size); in pc_machine_init_sgx_epc() [all …]
|
H A D | sgx-epc.c | 56 SGXEPCState *sgx_epc = &pcms->sgx_epc; in sgx_epc_realize() local 78 epc->addr = sgx_epc->base + sgx_epc->size; in sgx_epc_realize() 80 memory_region_add_subregion(&sgx_epc->mr, epc->addr - sgx_epc->base, in sgx_epc_realize() 85 sgx_epc->sections = g_renew(SGXEPCDevice *, sgx_epc->sections, in sgx_epc_realize() 86 sgx_epc->nr_sections + 1); in sgx_epc_realize() 87 sgx_epc->sections[sgx_epc->nr_sections++] = epc; in sgx_epc_realize() 89 sgx_epc->size += memory_device_get_region_size(md, errp); in sgx_epc_realize() 147 info->u.sgx_epc.data = se; in sgx_epc_md_fill_device_info()
|
H A D | sgx-stub.c | 32 memset(&pcms->sgx_epc, 0, sizeof(SGXEPCState)); in pc_machine_init_sgx_epc()
|
H A D | pc.c | 742 if (pcms->sgx_epc.size != 0) { in pc_above_4g_end() 743 return sgx_epc_above_4g_end(&pcms->sgx_epc); in pc_above_4g_end() 954 if (pcms->sgx_epc.size != 0) { in pc_memory_init() 955 e820_add_entry(pcms->sgx_epc.base, pcms->sgx_epc.size, E820_RESERVED); in pc_memory_init()
|
H A D | acpi-build.c | 1804 if (pcms->sgx_epc.size != 0) { in build_dsdt() 1805 uint64_t epc_base = pcms->sgx_epc.base; in build_dsdt() 1806 uint64_t epc_size = pcms->sgx_epc.size; in build_dsdt()
|
/qemu/include/hw/i386/ |
H A D | sgx-epc.h | 64 static inline uint64_t sgx_epc_above_4g_end(SGXEPCState *sgx_epc) in sgx_epc_above_4g_end() argument 66 assert(sgx_epc != NULL && sgx_epc->base >= 0x100000000ULL); in sgx_epc_above_4g_end() 68 return sgx_epc->base + sgx_epc->size; in sgx_epc_above_4g_end()
|
H A D | pc.h | 59 SGXEPCState sgx_epc; member
|
/qemu/hw/core/ |
H A D | machine-hmp-cmds.c | 309 se = value->u.sgx_epc.data; in hmp_info_memory_devices()
|
H A D | numa.c | 792 se = value->u.sgx_epc.data; in numa_stat_memory_devices()
|