aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/sgx-stub.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2021-10-07 19:56:10 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-10-13 10:47:49 +0200
commit05fc8db720a2effad2fe523ab45c1ce5f8f32379 (patch)
tree85db5afd588fa6915d60fe389c741cb317701240 /hw/i386/sgx-stub.c
parenta821186ec02ecf5ac4949ed42410bf2095bcea66 (diff)
downloadqemu-05fc8db720a2effad2fe523ab45c1ce5f8f32379.zip
qemu-05fc8db720a2effad2fe523ab45c1ce5f8f32379.tar.gz
qemu-05fc8db720a2effad2fe523ab45c1ce5f8f32379.tar.bz2
hw/i386/sgx: Have sgx_epc_get_section() return a boolean
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20211007175612.496366-3-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386/sgx-stub.c')
-rw-r--r--hw/i386/sgx-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/sgx-stub.c b/hw/i386/sgx-stub.c
index 3be9f5c..45c4731 100644
--- a/hw/i386/sgx-stub.c
+++ b/hw/i386/sgx-stub.c
@@ -20,7 +20,7 @@ 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)
+bool sgx_epc_get_section(int section_nr, uint64_t *addr, uint64_t *size)
{
g_assert_not_reached();
}