summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Library/EdkFvbServiceLib
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-18 02:44:41 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-18 02:44:41 +0000
commit7f47bef3d84592acab50329f58a0de76d150dd50 (patch)
tree28d53d123997bc46c21a869ff5cb74fc85b275e0 /EdkModulePkg/Library/EdkFvbServiceLib
parenta8e756dad00a922dabe8a9f7d67c25e0d637538f (diff)
downloadedk2-platforms-7f47bef3d84592acab50329f58a0de76d150dd50.tar.xz
added EFIAPI for those constructor functions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1548 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Library/EdkFvbServiceLib')
-rw-r--r--EdkModulePkg/Library/EdkFvbServiceLib/Ipf/Fvb.c35
1 files changed, 18 insertions, 17 deletions
diff --git a/EdkModulePkg/Library/EdkFvbServiceLib/Ipf/Fvb.c b/EdkModulePkg/Library/EdkFvbServiceLib/Ipf/Fvb.c
index 58ad6f538c..2436303483 100644
--- a/EdkModulePkg/Library/EdkFvbServiceLib/Ipf/Fvb.c
+++ b/EdkModulePkg/Library/EdkFvbServiceLib/Ipf/Fvb.c
@@ -1,13 +1,13 @@
/*++
-Copyright (c) 2006, Intel Corporation
-All rights reserved. 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
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+Copyright (c) 2006, Intel Corporation
+All rights reserved. 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
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name:
@@ -26,6 +26,7 @@ Abstract:
--*/
EFI_STATUS
+EFIAPI
FvbLibInitialize (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
@@ -38,7 +39,7 @@ Routine Description:
Arguments:
None
-Returns:
+Returns:
EFI_SUCCESS
--*/
@@ -155,7 +156,7 @@ Routine Description:
resulting attributes in output parameter
Arguments:
- Instance - The FV instance whose attributes is going to be
+ Instance - The FV instance whose attributes is going to be
returned
Attributes - Output buffer which contains attributes
@@ -177,13 +178,13 @@ EfiFvbSetVolumeAttributes (
/*++
Routine Description:
- Modifies the current settings of the firmware volume according to the
+ Modifies the current settings of the firmware volume according to the
input parameter, and returns the new setting of the volume
Arguments:
- Instance - The FV instance whose attributes is going to be
+ Instance - The FV instance whose attributes is going to be
modified
- Attributes - On input, it is a pointer to EFI_FVB_ATTRIBUTES
+ Attributes - On input, it is a pointer to EFI_FVB_ATTRIBUTES
containing the desired firmware volume settings.
On successful return, it contains the new settings
of the firmware volume
@@ -211,9 +212,9 @@ Routine Description:
Arguments:
Instance - The FV instance whose base address is going to be
returned
- BaseAddress - Pointer to a caller allocated EFI_PHYSICAL_ADDRESS
+ BaseAddress - Pointer to a caller allocated EFI_PHYSICAL_ADDRESS
that on successful return, contains the base address
- of the firmware volume.
+ of the firmware volume.
Returns:
Status code
@@ -249,7 +250,7 @@ Arguments:
BlockSize
Returns:
- EFI_SUCCESS - The firmware volume was read successfully and
+ EFI_SUCCESS - The firmware volume was read successfully and
contents are in Buffer
--*/
@@ -285,7 +286,7 @@ Routine Description:
Arguments:
Instance - The FV instance to be erased
StartLba - The starting logical block index to be erased
- OffsetStartLba - Offset into the starting block at which to
+ OffsetStartLba - Offset into the starting block at which to
begin erasing
LastLba - The last logical block index to be erased
OffsetLastLba - Offset into the last block at which to end erasing