Update to use DOS format

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6324 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2008-10-31 04:23:40 +00:00
parent 98c39c6b10
commit a6ae3de442
1 changed files with 23 additions and 23 deletions

View File

@ -15,7 +15,7 @@
#ifndef __FVB_SERVICE_LIB_H__
#define __FVB_SERVICE_LIB_H__
/**
/**
Reads specified number of bytes into a buffer from the specified block.
The EfiFvbReadBlock() function reads the requested number of bytes from
@ -49,7 +49,7 @@
@retval EFI_ACCESS_DENIED The firmware volume is in the ReadDisabled state.
@retval EFI_DEVICE_ERROR The block device is not functioning correctly and could not be read.
@retval EFI_INVALID_PARAMETER Invalid parameter, Instance is larger than the max FVB number. Lba index is larger than the last block of the firmware volume. Offset is larger than the block size.
**/
EFI_STATUS
EFIAPI
@ -123,7 +123,7 @@ EfiFvbWriteBlock (
);
/**
/**
Erases and initializes a firmware volume block.
The EfiFvbEraseBlock() function erases one block specified by Lba.
@ -137,7 +137,7 @@ EfiFvbWriteBlock (
All calls to EfiFvbEraseBlock() must be fully flushed to the
hardware before this function returns.
@param[in] Instance The FV instance to be erased.
@param[in] Lba The logical block index to be erased from.
@ -149,7 +149,7 @@ EfiFvbWriteBlock (
@retval EFI_INVALID_PARAMETER Invalid parameter. Instance is larger than the max
FVB number. Lba index is larger than the last block
of the firmware volume.
**/
EFI_STATUS
EFIAPI
@ -159,7 +159,7 @@ EfiFvbEraseBlock (
);
/**
/**
Retrieves the attributes and current settings of the specified block,
returns resulting attributes in output parameter.
@ -168,11 +168,11 @@ EfiFvbEraseBlock (
the max FVB number, this function returns the status code EFI_INVALID_PARAMETER.
If Attributes is NULL, then ASSERT().
@param[in] Instance The FV instance to be operated.
@param[out] Attributes Pointer to EFI_FVB_ATTRIBUTES_2 in which the
attributes and current settings are returned.
@retval EFI_EFI_SUCCESS The firmware volume attributes were returned.
@retval EFI_INVALID_PARAMETER Invalid parameter. Instance is larger than the max FVB number.
**/
@ -184,7 +184,7 @@ EfiFvbGetVolumeAttributes (
);
/**
/**
Modify the attributes and current settings of the specified block
according to the input parameter.
@ -199,10 +199,10 @@ EfiFvbGetVolumeAttributes (
@param[in, out]Attributes On input, Attributes is a pointer to EFI_FVB_ATTRIBUTES_2
that contains the desired firmware volume settings.
On successful return, it contains the new settings of the firmware volume.
@retval EFI_EFI_SUCCESS The firmware volume attributes were modified successfully.
@retval EFI_INVALID_PARAMETER Invalid parameter. Instance is larger than the max FVB number.
**/
EFI_STATUS
EFIAPI
@ -212,7 +212,7 @@ EfiFvbSetVolumeAttributes (
);
/**
/**
Retrieves the physical address of the specified memory mapped FV.
Retrieve the base address of a memory-mapped firmware volume specified by Instance.
@ -220,15 +220,15 @@ EfiFvbSetVolumeAttributes (
code EFI_INVALID_PARAMETER.
If BaseAddress is NULL, then ASSERT().
@param[in] Instance The FV instance to be operated.
@param[out] BaseAddress Pointer to a caller allocated EFI_PHYSICAL_ADDRESS
that on successful return, contains the base address
of the firmware volume.
@retval EFI_EFI_SUCCESS The firmware volume base address is returned.
@retval EFI_INVALID_PARAMETER Invalid parameter. Instance is larger than the max FVB number.
**/
EFI_STATUS
EFIAPI
@ -238,7 +238,7 @@ EfiFvbGetPhysicalAddress (
);
/**
/**
Retrieve the block size of the specified fv.
The EfiFvbGetBlockSize() function retrieves the size of the requested block.
@ -250,7 +250,7 @@ EfiFvbGetPhysicalAddress (
If BlockSize is NULL, then ASSERT().
If NumOfBlocks is NULL, then ASSERT().
@param[in] Instance The FV instance to be operated.
@param[in] Lba Indicates which block to return the size for.
@param[out] BlockSize Pointer to a caller-allocated UINTN in which the
@ -258,11 +258,11 @@ EfiFvbGetPhysicalAddress (
@param[out] NumOfBlocks Pointer to a caller-allocated UINTN in which the
number of consecutive blocks, starting with Lba,
is returned. All blocks in this range have a size of BlockSize.
@retval EFI_EFI_SUCCESS The firmware volume base address is returned.
@retval EFI_INVALID_PARAMETER Invalid parameter. Instance is larger than the max FVB number.
Lba index is larger than the last block of the firmware volume.
**/
EFI_STATUS
EFIAPI
@ -274,7 +274,7 @@ EfiFvbGetBlockSize (
);
/**
/**
Erases and initializes a specified range of a firmware volume.
The EfiFvbEraseCustomBlockRange() function erases the specified range in the firmware
@ -282,18 +282,18 @@ EfiFvbGetBlockSize (
LastLba index is larger than the last block of the firmware volume, StartLba > LastLba
or StartLba equal to LastLba but OffsetStartLba > OffsetLastLba, this function return
the status code EFI_INVALID_PARAMETER.
@param[in] Instance The FV instance to be operated.
@param[in] StartLba The starting logical block index to be erased.
@param[in] OffsetStartLba Offset into the starting block at which to
begin erasing.
@param[in] LastLba The last logical block index to be erased.
@param[in] OffsetLastLba Offset into the last block at which to end erasing.
@retval EFI_EFI_SUCCESS Successfully erase custom block range
@retval EFI_INVALID_PARAMETER Invalid parameter. Instance is larger than the max FVB number.
@retval EFI_UNSUPPORTED Firmware volume block device has no this capability.
**/
EFI_STATUS
EFIAPI