ADD EFIAPI for library function.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5435 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2008-07-09 08:57:49 +00:00
parent 4ad9b09e88
commit 78f64f281a
2 changed files with 24 additions and 26 deletions

View File

@ -22,6 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
UINT8 mShadowRomFlag = 0; UINT8 mShadowRomFlag = 0;
VOID VOID
EFIAPI
ShadowAllOptionRom() ShadowAllOptionRom()
{ {
EFI_STATUS Status; EFI_STATUS Status;

View File

@ -435,16 +435,18 @@ BdsIsLegacyBootOption (
} }
/** /**
EDES_TODO: Add function description.
@param OptionNumber EDES_TODO: Add parameter description Delete boot option specified by OptionNumber and adjust the boot order.
@param BootOrder EDES_TODO: Add parameter description
@param BootOrderSize EDES_TODO: Add parameter description
@return EDES_TODO: Add description for return value @param OptionNumber The boot option to be deleted.
@param BootOrder Boot order list to be adjusted by remove this boot option.
@param BootOrderSize The size of Boot order list will be modified.
@retval EFI_SUCCESS The boot option is deleted successfully.
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI
BdsDeleteBootOption ( BdsDeleteBootOption (
IN UINTN OptionNumber, IN UINTN OptionNumber,
IN OUT UINT16 *BootOrder, IN OUT UINT16 *BootOrder,
@ -486,20 +488,14 @@ BdsDeleteBootOption (
} }
/** /**
Delete all the invalid legacy boot options. Delete all the invalid legacy boot options.
@retval EFI_SUCCESS All invalide legacy boot options are deleted.
@param VOID EDES_TODO: Add parameter description @retval EFI_OUT_OF_RESOURCES Fail to allocate necessary memory.
@retval EFI_NOT_FOUND Fail to retrive variable of boot order.
@retval EFI_SUCCESS All invalide legacy boot options are deleted.
@retval EFI_OUT_OF_RESOURCES Fail to allocate necessary memory.
@retval EFI_NOT_FOUND Fail to retrive variable of boot order.
@retval Other Error occurs while setting variable or locating
protocol.
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI
BdsDeleteAllInvalidLegacyBootOptions ( BdsDeleteAllInvalidLegacyBootOptions (
VOID VOID
) )
@ -750,14 +746,12 @@ BdsCreateOneLegacyBootOption (
Add the legacy boot options from BBS table if they do not exist. Add the legacy boot options from BBS table if they do not exist.
@retval EFI_SUCCESS The boot options are added successfully
@param VOID EDES_TODO: Add parameter description or they are already in boot options.
@retval EFI_SUCCESS The boot options are added successfully or they are already in boot options.
@retval others An error occurred when creating legacy boot options.
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI
BdsAddNonExistingLegacyBootOptions ( BdsAddNonExistingLegacyBootOptions (
VOID VOID
) )
@ -1029,14 +1023,15 @@ BdsCreateDevOrder (
} }
/** /**
EDES_TODO: Add function description.
@param VOID EDES_TODO: Add parameter description Add the legacy boot devices from BBS table into
the legacy device boot order.
@return EDES_TODO: Add description for return value @retval EFI_SUCCESS The boot devices are added successfully.
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI
BdsUpdateLegacyDevOrder ( BdsUpdateLegacyDevOrder (
VOID VOID
) )
@ -1586,14 +1581,16 @@ PrintBbsTable (
} }
/** /**
EDES_TODO: Add function description.
@param Entry EDES_TODO: Add parameter description Set the boot priority for BBS entries based on boot option entry and boot order.
@return EDES_TODO: Add description for return value @param Entry The boot option is to be checked for refresh BBS table.
@retval EFI_SUCCESS The boot priority for BBS entries is refreshed successfully.
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI
BdsRefreshBbsTableForBoot ( BdsRefreshBbsTableForBoot (
IN BDS_COMMON_OPTION *Entry IN BDS_COMMON_OPTION *Entry
) )