Refine BdsDxe driver and GenericBdsLib library so that the GenericBdsLib doesn't depend on the BdsDxe implementation.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13418 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
declares interface functions
|
||||
|
||||
Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
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
|
||||
|
Reference in New Issue
Block a user