Fix Boot Option appear twice while add a new boot option in some specific steps.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9738 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
gikidy
2010-01-14 04:42:45 +00:00
parent 173eeac9eb
commit a5c3c546ea
2 changed files with 83 additions and 111 deletions

View File

@@ -591,6 +591,20 @@ BOpt_IsEfiApp (
Get the Option Number that has not been allocated for use.
@param Type The type of Option.
@return The available Option Number.
**/
UINT16
BOpt_GetOptionNumber (
CHAR16 *Type
);
/**
Get the Option Number for Boot#### that does not used.
@return The available Option Number.
**/
@@ -601,9 +615,9 @@ BOpt_GetBootOptionNumber (
/**
Get the Option Number that is not in use.
Get the Option Number for Driver#### that does not used.
@return The unused Option Number.
@return The unused Option Number.
**/
UINT16