From e40b7d5d1b4f7d0cc7d4e91d6aa26033d5afd3a7 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Fri, 12 Jun 2009 05:47:03 +0000 Subject: Update some comments for MdeModulePkg Include header files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8536 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Include/Protocol/SwapAddressRange.h | 50 ++++++++++++------------ 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'MdeModulePkg/Include/Protocol/SwapAddressRange.h') diff --git a/MdeModulePkg/Include/Protocol/SwapAddressRange.h b/MdeModulePkg/Include/Protocol/SwapAddressRange.h index b6898be8d0..4018ba49b6 100644 --- a/MdeModulePkg/Include/Protocol/SwapAddressRange.h +++ b/MdeModulePkg/Include/Protocol/SwapAddressRange.h @@ -43,39 +43,39 @@ typedef UINT8 EFI_SWAP_LOCK_CAPABILITY; This function gets the address range location of boot block and backup block. - @param This Indicates the calling context. - @param BootBlockBase Base address of current boot block. - @param BootBlockSize Size (in bytes) of current boot block. - @param BackupBlockBase Base address of current backup block. - @param BackupBlockSize Size (in bytes) of current backup block. + @param This Indicates the calling context. + @param BootBlockBase Base address of current boot block. + @param BootBlockSize Size (in bytes) of current boot block. + @param BackupBlockBase Base address of current backup block. + @param BackupBlockSize Size (in bytes) of current backup block. - @retval EFI_SUCCESS The call was successful. + @retval EFI_SUCCESS The call was successful. **/ typedef EFI_STATUS (EFIAPI *EFI_GET_RANGE_LOCATION) ( - IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL * This, - OUT EFI_PHYSICAL_ADDRESS * BootBlockBase, + IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This, + OUT EFI_PHYSICAL_ADDRESS *BootBlockBase, OUT UINTN *BootBlockSize, - OUT EFI_PHYSICAL_ADDRESS * BackupBlockBase, + OUT EFI_PHYSICAL_ADDRESS *BackupBlockBase, OUT UINTN *BackupBlockSize ); /** This service checks if the boot block and backup block has been swapped. - @param This Indicates the calling context. - @param SwapState True if the boot block and backup block has been swapped. - False if the boot block and backup block has not been swapped. + @param This Indicates the calling context. + @param SwapState True if the boot block and backup block has been swapped. + False if the boot block and backup block has not been swapped. - @retval EFI_SUCCESS The call was successful. + @retval EFI_SUCCESS The call was successful. **/ typedef EFI_STATUS (EFIAPI *EFI_GET_SWAP_STATE) ( - IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL * This, + IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This, OUT BOOLEAN *SwapState ); @@ -85,17 +85,17 @@ EFI_STATUS It also acquires and releases software swap lock during operation. The setting of the new swap state is not affected by the old swap state. - @param This Indicates the calling context. - @param NewSwapState True to swap real boot block and backup block, False to swap them back. + @param This Indicates the calling context. + @param NewSwapState True to swap real boot block and backup block, False to swap them back. - @retval EFI_SUCCESS The call was successful. - @retval EFI_ABORTED Set swap state error + @retval EFI_SUCCESS The call was successful. + @retval EFI_ABORTED Set swap state error **/ typedef EFI_STATUS (EFIAPI *EFI_SET_SWAP_STATE) ( - IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL * This, + IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This, IN BOOLEAN NewSwapState ); @@ -116,16 +116,16 @@ EFI_STATUS typedef EFI_STATUS (EFIAPI *EFI_GET_RTC_POWER_STATUS) ( - IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL * This, + IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This, OUT BOOLEAN *RtcPowerFailed ); /** This service returns all lock methods for swap operations that the current platform supports. Could be software lock, hardware lock, or unsupport lock. - Note that software and hardware lock methods can be used simultaneously. + Note that software and hardware lock methods can be used simultaneously. @param This Indicates the calling context. - @param LockCapability Current lock method for swap operation. + @param LockCapability Current lock method for swap operation. @retval EFI_SUCCESS The call was successful. @@ -133,8 +133,8 @@ EFI_STATUS typedef EFI_STATUS (EFIAPI *EFI_GET_SWAP_LOCK_CAPABILITY) ( - IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL * This, - OUT EFI_SWAP_LOCK_CAPABILITY * LockCapability + IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This, + OUT EFI_SWAP_LOCK_CAPABILITY *LockCapability ); @@ -154,7 +154,7 @@ EFI_STATUS typedef EFI_STATUS (EFIAPI *EFI_SET_SWAP_LOCK) ( - IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL * This, + IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This, IN EFI_SWAP_LOCK_CAPABILITY LockCapability, IN BOOLEAN NewLockState ); -- cgit v1.2.3