From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757524Ab1ILOfu (ORCPT ); Mon, 12 Sep 2011 10:35:50 -0400 Received: from arkanian.console-pimps.org ([212.110.184.194]:54444 "EHLO arkanian.console-pimps.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757359Ab1ILOfI (ORCPT ); Mon, 12 Sep 2011 10:35:08 -0400 From: Matt Fleming To: linux-kernel@vger.kernel.org Cc: "H. Peter Anvin" , Matthew Garrett , x86@kernel.org, Ingo Molnar , Thomas Gleixner , Matt Fleming Subject: [PATCH 08/10] efi.h: Add boottime->locate_handle search types Date: Mon, 12 Sep 2011 15:34:52 +0100 Message-Id: <1315838094-2307-9-git-send-email-matt@console-pimps.org> X-Mailer: git-send-email 1.7.4.4 In-Reply-To: <1315838094-2307-1-git-send-email-matt@console-pimps.org> References: <1315838094-2307-1-git-send-email-matt@console-pimps.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matt Fleming The x86 EFI boot stub needs to locate handles for various protocols. Cc: Matthew Garrett Cc: "H. Peter Anvin" Signed-off-by: Matt Fleming --- include/linux/efi.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/linux/efi.h b/include/linux/efi.h index e46d771..d407c88 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -472,6 +472,13 @@ extern int __init efi_setup_pcdp_console(char *); #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 */ #define EFI_DEV_HW 0x01 -- 1.7.4.4