Lines Matching refs:pcms
118 PCMachineState *pcms = PC_MACHINE(qdev_get_machine()); in sgx_epc_reset() local
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()
212 PCMachineState *pcms = in qmp_query_sgx() local
215 if (!pcms) { in qmp_query_sgx()
220 x86ms = X86_MACHINE(pcms); in qmp_query_sgx()
279 PCMachineState *pcms = in sgx_epc_get_section() local
284 if (!pcms || pcms->sgx_epc.size == 0 || pcms->sgx_epc.nr_sections <= section_nr) { in sgx_epc_get_section()
288 epc = pcms->sgx_epc.sections[section_nr]; in sgx_epc_get_section()
296 void pc_machine_init_sgx_epc(PCMachineState *pcms) in pc_machine_init_sgx_epc() argument
298 SGXEPCState *sgx_epc = &pcms->sgx_epc; in pc_machine_init_sgx_epc()
299 X86MachineState *x86ms = X86_MACHINE(pcms); in pc_machine_init_sgx_epc()
309 memory_region_init(&sgx_epc->mr, OBJECT(pcms), "sgx-epc", UINT64_MAX); in pc_machine_init_sgx_epc()