[PATCH 0/3] qemu: arm64: Add support for efi_rng_protocol
Sughosh Ganu
sughosh.ganu at linaro.org
Tue Dec 24 16:54:22 CET 2019
The patch series adds support for the EFI_RNG_PROTOCOL routines for
qemu arm64 platform. The getrng routine, used to get the random bytes,
uses the virtio-rng device found on the platform. The protocol, once
installed, can be used by the efi stub in the kernel for getting
random bytes needed for the kaslr feature.
These patches apply on top of the patch series to add random number
generator driver uclass[1]
[1] - https://lists.denx.de/pipermail/u-boot/2019-December/394010.html
Sughosh Ganu (3):
efi_loader: Add guidcpy function
efi: qemu: arm64: Add efi_rng_protocol implementation for the platform
efi_rng_protocol: Install the efi_rng_protocol on the root node
board/emulation/qemu-arm/qemu-arm.c | 50 ++++++++++++++++++++++++
include/efi_loader.h | 9 +++++
include/efi_rng.h | 34 +++++++++++++++++
lib/efi_loader/Kconfig | 8 ++++
lib/efi_loader/Makefile | 1 +
lib/efi_loader/efi_rng.c | 76 +++++++++++++++++++++++++++++++++++++
lib/efi_loader/efi_root_node.c | 4 ++
7 files changed, 182 insertions(+)
create mode 100644 include/efi_rng.h
create mode 100644 lib/efi_loader/efi_rng.c
--
2.7.4
More information about the U-Boot
mailing list