From 05fc8db720a2effad2fe523ab45c1ce5f8f32379 Mon Sep 17 00:00:00 2001 From: Philippe Mathieu-Daudé Date: Thu, 7 Oct 2021 19:56:10 +0200 Subject: hw/i386/sgx: Have sgx_epc_get_section() return a boolean Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20211007175612.496366-3-philmd@redhat.com> Signed-off-by: Paolo Bonzini --- include/hw/i386/sgx-epc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/hw/i386/sgx-epc.h b/include/hw/i386/sgx-epc.h index 65a68ca753..a6a65be854 100644 --- a/include/hw/i386/sgx-epc.h +++ b/include/hw/i386/sgx-epc.h @@ -55,7 +55,7 @@ typedef struct SGXEPCState { int nr_sections; } 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); static inline uint64_t sgx_epc_above_4g_end(SGXEPCState *sgx_epc) { -- cgit v1.2.3-55-g7522