Produces a Null-terminated Unicode string in an output buffer, based on \r
a Null-terminated Unicode format string and a BASE_LIST argument list\r
\r
- Produces a Null-terminated Unicode string in the output buffer specified by StartOfBuffer\r
- and BufferSize. \r
+ Produces a Null-terminated Unicode string in the output buffer \r
+ specified by StartOfBuffer and BufferSize. \r
The Unicode string is produced by parsing the format string specified by FormatString. \r
- Arguments are pulled from the variable argument list specified by Marker. Marker is constructed based on the \r
- contents of the format string. \r
- This function returns the number of Unicode characters in the produced output buffer, not including\r
- the Null-terminator.\r
+ Arguments are pulled from the variable argument list specified by Marker.\r
+ Marker is constructed based on the contents of the format string. \r
+ This function returns the number of Unicode characters in the produced output buffer, \r
+ not including the Null-terminator.\r
If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned.\r
\r
If BufferSize > 1 and StartOfBuffer is NULL, then ASSERT().\r
If BufferSize > 1 and FormatString is NULL, then ASSERT().\r
If BufferSize > 1 and FormatString is not aligned on a 16-bit boundary, then ASSERT().\r
If PcdMaximumUnicodeStringLength is not zero, and FormatString contains more than \r
- PcdMaximumUnicodeStringLength Unicode characters not including the Null-terminator, then\r
- ASSERT().\r
+ PcdMaximumUnicodeStringLength Unicode characters not including the Null-terminator, then ASSERT().\r
If PcdMaximumUnicodeStringLength is not zero, and produced Null-terminated Unicode string\r
contains more than PcdMaximumUnicodeStringLength Unicode characters not including the\r
Null-terminator, then ASSERT().\r
Produces a Null-terminated Unicode string in an output buffer based on a Null-terminated \r
Unicode format string and variable argument list.\r
\r
- Produces a Null-terminated Unicode string in the output buffer specified by StartOfBuffer\r
- and BufferSize.\r
+ Produces a Null-terminated Unicode string in the output buffer \r
+ specified by StartOfBuffer and BufferSize.\r
The Unicode string is produced by parsing the format string specified by FormatString.\r
Arguments are pulled from the variable argument list based on the contents of the format string.\r
- This function returns the number of Unicode characters in the produced output buffer, not including\r
- the Null-terminator.\r
+ This function returns the number of Unicode characters in the produced output buffer, \r
+ not including the Null-terminator.\r
If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned.\r
\r
If BufferSize > 1 and StartOfBuffer is NULL, then ASSERT().\r
If BufferSize > 1 and FormatString is NULL, then ASSERT().\r
If BufferSize > 1 and FormatString is not aligned on a 16-bit boundary, then ASSERT().\r
If PcdMaximumUnicodeStringLength is not zero, and FormatString contains more than \r
- PcdMaximumUnicodeStringLength Unicode characters not including the Null-terminator, then\r
- ASSERT().\r
+ PcdMaximumUnicodeStringLength Unicode characters not including the Null-terminator, then ASSERT().\r
If PcdMaximumUnicodeStringLength is not zero, and produced Null-terminated Unicode string\r
contains more than PcdMaximumUnicodeStringLength Unicode characters not including the\r
Null-terminator, then ASSERT().\r
Produces a Null-terminated Unicode string in an output buffer, based on a Null-terminated\r
ASCII format string and a BASE_LIST argument list\r
\r
- Produces a Null-terminated Unicode string in the output buffer specified by StartOfBuffer\r
- and BufferSize.\r
+ Produces a Null-terminated Unicode string in the output buffer \r
+ specified by StartOfBuffer and BufferSize.\r
The Unicode string is produced by parsing the format string specified by FormatString.\r
Arguments are pulled from the variable argument list specified by Marker based on the \r
contents of the format string.\r
- This function returns the number of Unicode characters in the produced output buffer, not including\r
- the Null-terminator.\r
+ This function returns the number of Unicode characters in the produced output buffer, \r
+ not including the Null-terminator.\r
If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned.\r
\r
If BufferSize > 1 and StartOfBuffer is NULL, then ASSERT().\r
If BufferSize > 1 and StartOfBuffer is not aligned on a 16-bit boundary, then ASSERT().\r
If BufferSize > 1 and FormatString is NULL, then ASSERT().\r
If PcdMaximumAsciiStringLength is not zero, and FormatString contains more than\r
- PcdMaximumAsciiStringLength ASCII characters not including the Null-terminator, then\r
- ASSERT().\r
+ PcdMaximumAsciiStringLength ASCII characters not including the Null-terminator, then ASSERT().\r
If PcdMaximumUnicodeStringLength is not zero, and produced Null-terminated Unicode string\r
contains more than PcdMaximumUnicodeStringLength Unicode characters not including the\r
Null-terminator, then ASSERT().\r
Produces a Null-terminated Unicode string in an output buffer based on a Null-terminated \r
ASCII format string and a variable argument list.\r
\r
- Produces a Null-terminated Unicode string in the output buffer specified by StartOfBuffer\r
- and BufferSize.\r
+ Produces a Null-terminated Unicode string in the output buffer \r
+ specified by StartOfBuffer and BufferSize.\r
The Unicode string is produced by parsing the format string specified by FormatString.\r
- Arguments are pulled from the variable argument list based on the contents of the \r
- format string.\r
- This function returns the number of Unicode characters in the produced output buffer, not including\r
- the Null-terminator.\r
+ Arguments are pulled from the variable argument list based on the contents of the format string.\r
+ This function returns the number of Unicode characters in the produced output buffer, \r
+ not including the Null-terminator.\r
If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned.\r
\r
If BufferSize > 1 and StartOfBuffer is NULL, then ASSERT().\r
If BufferSize > 1 and StartOfBuffer is not aligned on a 16-bit boundary, then ASSERT().\r
If BufferSize > 1 and FormatString is NULL, then ASSERT().\r
If PcdMaximumAsciiStringLength is not zero, and FormatString contains more than\r
- PcdMaximumAsciiStringLength ASCII characters not including the Null-terminator, then\r
- ASSERT().\r
+ PcdMaximumAsciiStringLength ASCII characters not including the Null-terminator, then ASSERT().\r
If PcdMaximumUnicodeStringLength is not zero, and produced Null-terminated Unicode string\r
contains more than PcdMaximumUnicodeStringLength Unicode characters not including the\r
Null-terminator, then ASSERT().\r
Produces a Null-terminated ASCII string in an output buffer based on a Null-terminated\r
ASCII format string and a BASE_LIST argument list.\r
\r
- Produces a Null-terminated ASCII string in the output buffer specified by StartOfBuffer\r
- and BufferSize.\r
+ Produces a Null-terminated ASCII string in the output buffer \r
+ pecified by StartOfBuffer and BufferSize.\r
The ASCII string is produced by parsing the format string specified by FormatString.\r
Arguments are pulled from the variable argument list specified by Marker based on \r
the contents of the format string.\r
- This function returns the number of ASCII characters in the output buffer, not including\r
- the Null-terminator.\r
+ This function returns the number of ASCII characters in the output buffer, \r
+ not including the Null-terminator.\r
If BufferSize is 0, then no output buffer is produced and 0 is returned.\r
\r
If BufferSize > 0 and StartOfBuffer is NULL, then ASSERT().\r
If BufferSize > 0 and FormatString is NULL, then ASSERT().\r
If PcdMaximumAsciiStringLength is not zero, and FormatString contains more than\r
- PcdMaximumAsciiStringLength ASCII characters not including the Null-terminator, then\r
- ASSERT().\r
+ PcdMaximumAsciiStringLength ASCII characters not including the Null-terminator, then ASSERT().\r
If PcdMaximumAsciiStringLength is not zero, and produced Null-terminated ASCII string\r
contains more than PcdMaximumAsciiStringLength ASCII characters not including the\r
Null-terminator, then ASSERT().\r
Produces a Null-terminated ASCII string in an output buffer based on a Null-terminated\r
ASCII format string and variable argument list.\r
\r
- Produces a Null-terminated ASCII string in the output buffer specified by StartOfBuffer\r
- and BufferSize.\r
+ Produces a Null-terminated ASCII string in the output buffer \r
+ specified by StartOfBuffer and BufferSize.\r
The ASCII string is produced by parsing the format string specified by FormatString.\r
- Arguments are pulled from the variable argument list based on the contents of the \r
- format string.\r
- This function returns the number of ASCII characters in the output buffer, not including\r
- the Null-terminator.\r
+ Arguments are pulled from the variable argument list based on the contents of the format string.\r
+ This function returns the number of ASCII characters in the output buffer, \r
+ not including the Null-terminator.\r
If BufferSize is 0, then no output buffer is produced and 0 is returned.\r
\r
If BufferSize > 0 and StartOfBuffer is NULL, then ASSERT().\r
If BufferSize > 0 and FormatString is NULL, then ASSERT().\r
If PcdMaximumAsciiStringLength is not zero, and FormatString contains more than\r
- PcdMaximumAsciiStringLength ASCII characters not including the Null-terminator, then\r
- ASSERT().\r
+ PcdMaximumAsciiStringLength ASCII characters not including the Null-terminator, then ASSERT().\r
If PcdMaximumAsciiStringLength is not zero, and produced Null-terminated ASCII string\r
contains more than PcdMaximumAsciiStringLength ASCII characters not including the\r
Null-terminator, then ASSERT().\r
Produces a Null-terminated ASCII string in an output buffer based on a Null-terminated\r
Unicode format string and a BASE_LIST argument list.\r
\r
- Produces a Null-terminated ASCII string in the output buffer specified by StartOfBuffer\r
- and BufferSize.\r
+ Produces a Null-terminated ASCII string in the output buffer \r
+ specified by StartOfBuffer and BufferSize.\r
The ASCII string is produced by parsing the format string specified by FormatString.\r
Arguments are pulled from the variable argument list specified by Marker based on \r
the contents of the format string.\r
- This function returns the number of ASCII characters in the output buffer, not including\r
- the Null-terminator.\r
+ This function returns the number of ASCII characters in the output buffer, \r
+ not including the Null-terminator.\r
If BufferSize is 0, then no output buffer is produced and 0 is returned.\r
\r
If BufferSize > 0 and StartOfBuffer is NULL, then ASSERT().\r
If BufferSize > 0 and FormatString is NULL, then ASSERT().\r
If BufferSize > 0 and FormatString is not aligned on a 16-bit boundary, then ASSERT().\r
If PcdMaximumUnicodeStringLength is not zero, and FormatString contains more than\r
- PcdMaximumUnicodeStringLength Unicode characters not including the Null-terminator, then\r
- ASSERT().\r
+ PcdMaximumUnicodeStringLength Unicode characters not including the Null-terminator, then ASSERT().\r
If PcdMaximumAsciiStringLength is not zero, and produced Null-terminated ASCII string\r
contains more than PcdMaximumAsciiStringLength ASCII characters not including the\r
Null-terminator, then ASSERT().\r
Produces a Null-terminated ASCII string in an output buffer based on a Null-terminated\r
Unicode format string and variable argument list.\r
\r
- Produces a Null-terminated ASCII string in the output buffer specified by StartOfBuffer\r
- and BufferSize.\r
+ Produces a Null-terminated ASCII string in the output buffer \r
+ specified by StartOfBuffer and BufferSize.\r
The ASCII string is produced by parsing the format string specified by FormatString.\r
- Arguments are pulled from the variable argument list based on the contents of the \r
- format string.\r
- This function returns the number of ASCII characters in the output buffer, not including\r
- the Null-terminator.\r
+ Arguments are pulled from the variable argument list based on the contents of the format string.\r
+ This function returns the number of ASCII characters in the output buffer, \r
+ not including the Null-terminator.\r
If BufferSize is 0, then no output buffer is produced and 0 is returned.\r
\r
If BufferSize > 0 and StartOfBuffer is NULL, then ASSERT().\r
If BufferSize > 0 and FormatString is NULL, then ASSERT().\r
If BufferSize > 0 and FormatString is not aligned on a 16-bit boundary, then ASSERT().\r
- If PcdMaximumUnicodeStringLength is not zero, and FormatString contains more than\r
- PcdMaximumUnicodeStringLength Unicode characters not including the Null-terminator, then\r
- ASSERT().\r
+ If PcdMaximumUnicodeStringLength is not zero, and FormatString contains more than \r
+ PcdMaximumUnicodeStringLength Unicode characters not including the Null-terminator, then ASSERT().\r
If PcdMaximumAsciiStringLength is not zero, and produced Null-terminated ASCII string\r
contains more than PcdMaximumAsciiStringLength ASCII characters not including the\r
Null-terminator, then ASSERT().\r
Converts a decimal value to a Null-terminated ASCII string.\r
\r
Converts the decimal number specified by Value to a Null-terminated ASCII string \r
- specified by Buffer containing at most Width characters. No padding of spaces \r
- is ever performed.\r
+ specified by Buffer containing at most Width characters. No padding of spaces is ever performed.\r
If Width is 0 then a width of MAXIMUM_VALUE_CHARACTERS is assumed.\r
The number of ASCII characters in Buffer is returned not including the Null-terminator.\r
If the conversion contains more than Width characters, then only the first Width\r
This function gets the address range location of \r
boot block and backup block. \r
\r
- @param This Indicates the calling context. \r
- @param BootBlockBase Base address of current boot block.\r
- @param BootBlockSize Size (in bytes) of current boot block.\r
- @param BackupBlockBase Base address of current backup block.\r
- @param BackupBlockSize Size (in bytes) of current backup block.\r
+ @param This Indicates the calling context. \r
+ @param BootBlockBase Base address of current boot block.\r
+ @param BootBlockSize Size (in bytes) of current boot block.\r
+ @param BackupBlockBase Base address of current backup block.\r
+ @param BackupBlockSize Size (in bytes) of current backup block.\r
\r
- @retval EFI_SUCCESS The call was successful.\r
+ @retval EFI_SUCCESS The call was successful.\r
\r
**/\r
typedef\r
EFI_STATUS\r
(EFIAPI *EFI_GET_RANGE_LOCATION) (\r
- IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL * This,\r
- OUT EFI_PHYSICAL_ADDRESS * BootBlockBase,\r
+ IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This,\r
+ OUT EFI_PHYSICAL_ADDRESS *BootBlockBase,\r
OUT UINTN *BootBlockSize,\r
- OUT EFI_PHYSICAL_ADDRESS * BackupBlockBase,\r
+ OUT EFI_PHYSICAL_ADDRESS *BackupBlockBase,\r
OUT UINTN *BackupBlockSize\r
);\r
\r
/**\r
This service checks if the boot block and backup block has been swapped.\r
\r
- @param This Indicates the calling context. \r
- @param SwapState True if the boot block and backup block has been swapped. \r
- False if the boot block and backup block has not been swapped.\r
+ @param This Indicates the calling context. \r
+ @param SwapState True if the boot block and backup block has been swapped. \r
+ False if the boot block and backup block has not been swapped.\r
\r
- @retval EFI_SUCCESS The call was successful.\r
+ @retval EFI_SUCCESS The call was successful.\r
\r
**/\r
typedef\r
EFI_STATUS\r
(EFIAPI *EFI_GET_SWAP_STATE) (\r
- IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL * This,\r
+ IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This,\r
OUT BOOLEAN *SwapState\r
);\r
\r
It also acquires and releases software swap lock during operation. The setting of the new swap state \r
is not affected by the old swap state.\r
\r
- @param This Indicates the calling context. \r
- @param NewSwapState True to swap real boot block and backup block, False to swap them back.\r
+ @param This Indicates the calling context. \r
+ @param NewSwapState True to swap real boot block and backup block, False to swap them back.\r
\r
- @retval EFI_SUCCESS The call was successful.\r
- @retval EFI_ABORTED Set swap state error\r
+ @retval EFI_SUCCESS The call was successful.\r
+ @retval EFI_ABORTED Set swap state error\r
\r
**/\r
typedef\r
EFI_STATUS\r
(EFIAPI *EFI_SET_SWAP_STATE) (\r
- IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL * This,\r
+ IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This,\r
IN BOOLEAN NewSwapState\r
);\r
\r
typedef\r
EFI_STATUS\r
(EFIAPI *EFI_GET_RTC_POWER_STATUS) (\r
- IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL * This,\r
+ IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This,\r
OUT BOOLEAN *RtcPowerFailed\r
);\r
\r
/**\r
This service returns all lock methods for swap operations that the current platform supports. Could be software lock, hardware lock, or unsupport lock.\r
- Note that software and hardware lock methods can be used simultaneously.\r
+ Note that software and hardware lock methods can be used simultaneously.\r
\r
@param This Indicates the calling context.\r
- @param LockCapability Current lock method for swap operation. \r
+ @param LockCapability Current lock method for swap operation. \r
\r
@retval EFI_SUCCESS The call was successful.\r
\r
typedef\r
EFI_STATUS\r
(EFIAPI *EFI_GET_SWAP_LOCK_CAPABILITY) (\r
- IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL * This,\r
- OUT EFI_SWAP_LOCK_CAPABILITY * LockCapability\r
+ IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This,\r
+ OUT EFI_SWAP_LOCK_CAPABILITY *LockCapability\r
);\r
\r
\r
typedef\r
EFI_STATUS\r
(EFIAPI *EFI_SET_SWAP_LOCK) (\r
- IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL * This,\r
+ IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This,\r
IN EFI_SWAP_LOCK_CAPABILITY LockCapability,\r
IN BOOLEAN NewLockState\r
);\r