From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 14 Jan 2021 08:42:17 -0700 Subject: [PATCH 2/3] efi_loader: carve out efi_check_pe() In-Reply-To: <20210112195842.252946-3-xypron.glpk@gmx.de> References: <20210112195842.252946-1-xypron.glpk@gmx.de> <20210112195842.252946-3-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 Tue, 12 Jan 2021 at 12:58, Heinrich Schuchardt wrote: > > Carve out a function to check that a buffer contains a PE-COFF image. > > Signed-off-by: Heinrich Schuchardt > --- > include/efi_loader.h | 2 + > lib/efi_loader/efi_image_loader.c | 80 ++++++++++++++++++------------- > 2 files changed, 48 insertions(+), 34 deletions(-) > Reviewed-by: Simon Glass