summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h
diff options
context:
space:
mode:
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2012-06-01 03:39:39 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2012-06-01 03:39:39 +0000
commit16e5944abde9ea3f01c9ccff2a86a41e5a6a1dd0 (patch)
tree7cc5e5a08187212a83be8953ea9bbf2b7227d104 /IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h
parent38fcd0270fff574ac82e2acad451fbcb36674398 (diff)
downloadedk2-platforms-16e5944abde9ea3f01c9ccff2a86a41e5a6a1dd0.tar.xz
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
Diffstat (limited to 'IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h')
-rw-r--r--IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h20
1 files changed, 6 insertions, 14 deletions
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.<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