efi_loader: calculate crc32 for EFI tables
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 28 Jun 2018 10:45:31 +0000 (12:45 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 25 Jul 2018 13:00:24 +0000 (15:00 +0200)
commit640adadf811e9c229ddec597595a00db3f5304b0
tree5bc66727594be4185571bede4c91d8cf437d6380
parent0b386537a51d5ac6e2da022ade49424ecc50ffa1
efi_loader: calculate crc32 for EFI tables

For the boot and runtime services tables and for the system table the
crc32 has to be set in the header.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c
include/efi_loader.h
lib/efi_loader/efi_boottime.c