From: Alexander Graf Date: Tue, 2 Jul 2019 18:19:28 +0200 Subject: [U-Boot] [PATCH 1/1] efi_loader: correct signature of ConvertPointer() In-Reply-To: <20190629015901.1423-1-xypron.glpk@gmx.de> References: <20190629015901.1423-1-xypron.glpk@gmx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 29.06.19 03:59, Heinrich Schuchardt wrote: > ConvertPointer() must be EFIAPI. The first parameter should be of type > efi_uint_t. Use the same parameter name as the UEFI specification. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Alexander Graf Alex > --- > include/efi_api.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/efi_api.h b/include/efi_api.h > index 1962bc9e4b..d4f32dbdc8 100644 > --- a/include/efi_api.h > +++ b/include/efi_api.h > @@ -242,7 +242,8 @@ struct efi_runtime_services { > unsigned long descriptor_size, > uint32_t descriptor_version, > struct efi_mem_desc *virtmap); > - efi_status_t (*convert_pointer)(unsigned long dbg, void **address); > + efi_status_t (EFIAPI *convert_pointer)( > + efi_uintn_t debug_disposition, void **address); > efi_status_t (EFIAPI *get_variable)(u16 *variable_name, > const efi_guid_t *vendor, > u32 *attributes, > -- > 2.20.1 >