From b67d6130b2daf8227219562ddebb696988926889 Mon Sep 17 00:00:00 2001 From: yshang1 Date: Tue, 3 Jul 2007 05:56:24 +0000 Subject: Update EFI_CAPSULE_HEADER definition. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2987 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Universal/Capsule/RuntimeDxe/CapsuleService.c | 8 ++++---- MdePkg/Library/UefiRuntimeLib/RuntimeService.c | 22 +++++++++++----------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/MdeModulePkg/Universal/Capsule/RuntimeDxe/CapsuleService.c b/MdeModulePkg/Universal/Capsule/RuntimeDxe/CapsuleService.c index 2153b20896..7370eb4198 100644 --- a/MdeModulePkg/Universal/Capsule/RuntimeDxe/CapsuleService.c +++ b/MdeModulePkg/Universal/Capsule/RuntimeDxe/CapsuleService.c @@ -24,7 +24,7 @@ Abstract: EFI_STATUS EFIAPI UpdateCapsule ( - IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray, + IN EFI_CAPSULE_HEADER **CapsuleHeaderArray, IN UINTN CapsuleCount, IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL ) @@ -56,7 +56,7 @@ Returns: VOID *BufferPtr; EFI_STATUS Status; EFI_HANDLE FvHandle; - UEFI_CAPSULE_HEADER *CapsuleHeader; + EFI_CAPSULE_HEADER *CapsuleHeader; if (CapsuleCount < 1) { return EFI_INVALID_PARAMETER; @@ -152,7 +152,7 @@ Returns: EFI_STATUS EFIAPI QueryCapsuleCapabilities ( - IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray, + IN EFI_CAPSULE_HEADER **CapsuleHeaderArray, IN UINTN CapsuleCount, OUT UINT64 *MaxiumCapsuleSize, OUT EFI_RESET_TYPE *ResetType @@ -181,7 +181,7 @@ Returns: --*/ { UINTN ArrayNumber; - UEFI_CAPSULE_HEADER *CapsuleHeader; + EFI_CAPSULE_HEADER *CapsuleHeader; if (CapsuleCount < 1) { return EFI_INVALID_PARAMETER; diff --git a/MdePkg/Library/UefiRuntimeLib/RuntimeService.c b/MdePkg/Library/UefiRuntimeLib/RuntimeService.c index 24fe151246..3a1e2f04a0 100644 --- a/MdePkg/Library/UefiRuntimeLib/RuntimeService.c +++ b/MdePkg/Library/UefiRuntimeLib/RuntimeService.c @@ -408,9 +408,9 @@ EfiSetVirtualAddressMap ( EFI_STATUS EFIAPI EfiUpdateCapsule ( - IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray, - IN UINTN CapsuleCount, - IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL + IN EFI_CAPSULE_HEADER **CapsuleHeaderArray, + IN UINTN CapsuleCount, + IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL ) { return mRT->UpdateCapsule ( @@ -423,10 +423,10 @@ EfiUpdateCapsule ( EFI_STATUS EFIAPI EfiQueryCapsuleCapabilities ( - IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray, - IN UINTN CapsuleCount, - OUT UINT64 *MaximumCapsuleSize, - OUT EFI_RESET_TYPE *ResetType + IN EFI_CAPSULE_HEADER **CapsuleHeaderArray, + IN UINTN CapsuleCount, + OUT UINT64 *MaximumCapsuleSize, + OUT EFI_RESET_TYPE *ResetType ) { return mRT->QueryCapsuleCapabilities ( @@ -441,10 +441,10 @@ EfiQueryCapsuleCapabilities ( EFI_STATUS EFIAPI EfiQueryVariableInfo ( - IN UINT32 Attributes, - OUT UINT64 *MaximumVariableStorageSize, - OUT UINT64 *RemainingVariableStorageSize, - OUT UINT64 *MaximumVariableSize + IN UINT32 Attributes, + OUT UINT64 *MaximumVariableStorageSize, + OUT UINT64 *RemainingVariableStorageSize, + OUT UINT64 *MaximumVariableSize ) { return mRT->QueryVariableInfo ( -- cgit v1.2.3