From 16e5944abde9ea3f01c9ccff2a86a41e5a6a1dd0 Mon Sep 17 00:00:00 2001 From: niruiyu Date: Fri, 1 Jun 2012 03:39:39 +0000 Subject: Refine BdsDxe driver and GenericBdsLib library so that the GenericBdsLib doesn't depend on the BdsDxe implementation. Signed-off-by: Ruiyu Ni Reviewed-by: Eric Dong git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13418 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Universal/BdsDxe/BootMaint/BBSsupport.h | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h') diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h index 26d6cb2637..e73dc85995 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h @@ -1,7 +1,7 @@ /** @file declares interface functions -Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.
+Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -50,14 +50,10 @@ BdsBuildLegacyDevNameString ( 2. Input = [Efi1 Efi0 CdRom1 Harddisk0 Harddisk1 Harddisk2 CdRom0 CdRom2] Assuming [Efi1 Efi0 CdRom1 Harddisk0] is ordered properly Output = [Efi1 Efi0 CdRom1 CdRom0 CdRom2 Harddisk0 Harddisk1 Harddisk2] - - @param BootOption Pointer to buffer containing Boot Option Numbers - @param BootOptionCount Count of the Boot Option Numbers **/ VOID GroupMultipleLegacyBootOption4SameType ( - UINT16 *BootOption, - UINTN BootOptionCount + VOID ); /** @@ -66,25 +62,21 @@ GroupMultipleLegacyBootOption4SameType ( The routine re-orders the Boot Option in BootOption array according to the order specified by DevOrder. - @param BootOption Pointer to buffer containing the Boot Option Numbers - @param BootOptionCount Count of the Boot Option Numbers @param DevOrder Pointer to buffer containing the BBS Index, high 8-bit value 0xFF indicating a disabled boot option @param DevOrderCount Count of the BBS Index - @param EnBootOption Pointer to buffer receiving the enabled Boot Option Numbers + @param EnBootOption Callee allocated buffer containing the enabled Boot Option Numbers @param EnBootOptionCount Count of the enabled Boot Option Numbers - @param DisBootOption Pointer to buffer receiving the disabled Boot Option Numbers + @param DisBootOption Callee allocated buffer containing the disabled Boot Option Numbers @param DisBootOptionCount Count of the disabled Boot Option Numbers **/ VOID OrderLegacyBootOption4SameType ( - UINT16 *BootOption, - UINTN BootOptionCount, UINT16 *DevOrder, UINTN DevOrderCount, - UINT16 *EnBootOption, + UINT16 **EnBootOption, UINTN *EnBootOptionCount, - UINT16 *DisBootOption, + UINT16 **DisBootOption, UINTN *DisBootOptionCount ); #endif -- cgit v1.2.3