diff options
author | Dave Howells <dhowells@redhat.com> | 2018-12-09 01:57:02 +0530 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2018-12-12 22:04:29 -0500 |
commit | 0bc9ae395b3f3b6557f0c5f0a0b0cd2fd5c00a04 (patch) | |
tree | 73395796ee5d31a7a13dc73b8ee11a07f68d9403 /kernel/kexec.c | |
parent | 5c126ba22f894427cc770240faa1bf6b02ce7aca (diff) | |
download | linux-0bc9ae395b3f3b6557f0c5f0a0b0cd2fd5c00a04.tar.gz linux-0bc9ae395b3f3b6557f0c5f0a0b0cd2fd5c00a04.tar.bz2 linux-0bc9ae395b3f3b6557f0c5f0a0b0cd2fd5c00a04.zip |
efi: Add an EFI signature blob parser
Add a function to parse an EFI signature blob looking for elements of
interest. A list is made up of a series of sublists, where all the
elements in a sublist are of the same type, but sublists can be of
different types.
For each sublist encountered, the function pointed to by the
get_handler_for_guid argument is called with the type specifier GUID and
returns either a pointer to a function to handle elements of that type or
NULL if the type is not of interest.
If the sublist is of interest, each element is passed to the handler
function in turn.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Nayna Jain <nayna@linux.ibm.com>
Acked-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'kernel/kexec.c')
0 files changed, 0 insertions, 0 deletions