Skip to content

Commit

Permalink
efi.h: Add boottime->locate_handle search types
Browse files Browse the repository at this point in the history
The x86 EFI boot stub needs to locate handles for various protocols.

Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Link: http://lkml.kernel.org/r/1318848017-12301-1-git-send-email-matt@console-pimps.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
  • Loading branch information
Matt Fleming authored and H. Peter Anvin committed Dec 10, 2011
1 parent 0f7c5d4 commit e2527a7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/linux/efi.h
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,13 @@ extern int __init efi_setup_pcdp_console(char *);
#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x0000000000000002
#define EFI_VARIABLE_RUNTIME_ACCESS 0x0000000000000004

/*
* The type of search to perform when calling boottime->locate_handle
*/
#define EFI_LOCATE_ALL_HANDLES 0
#define EFI_LOCATE_BY_REGISTER_NOTIFY 1
#define EFI_LOCATE_BY_PROTOCOL 2

/*
* EFI Device Path information
*/
Expand Down

0 comments on commit e2527a7

Please sign in to comment.