storage of the intermediate data and private information a caller would need to \r
recover from a critical fault, such as a power failure. \r
\r
-Copyright (c) 2009, Intel Corporation \r
+Copyright (c) 2009 - 2010, Intel Corporation \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_FAULT_TOLERANT_WRITE_GET_MAX_BLOCK_SIZE) (\r
+(EFIAPI *EFI_FAULT_TOLERANT_WRITE_GET_MAX_BLOCK_SIZE)(\r
IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL * This,\r
OUT UINTN *BlockSize\r
);\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_FAULT_TOLERANT_WRITE_ALLOCATE) (\r
+(EFIAPI *EFI_FAULT_TOLERANT_WRITE_ALLOCATE)(\r
IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL * This,\r
IN EFI_GUID * CallerId,\r
IN UINTN PrivateDataSize,\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_FAULT_TOLERANT_WRITE_WRITE) (\r
+(EFIAPI *EFI_FAULT_TOLERANT_WRITE_WRITE)(\r
IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL * This,\r
IN EFI_LBA Lba,\r
IN UINTN Offset,\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_FAULT_TOLERANT_WRITE_RESTART) (\r
+(EFIAPI *EFI_FAULT_TOLERANT_WRITE_RESTART)(\r
IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL * This,\r
IN EFI_HANDLE FvbHandle\r
);\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_FAULT_TOLERANT_WRITE_ABORT) (\r
+(EFIAPI *EFI_FAULT_TOLERANT_WRITE_ABORT)(\r
IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL * This\r
);\r
\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_FAULT_TOLERANT_WRITE_GET_LAST_WRITE) (\r
+(EFIAPI *EFI_FAULT_TOLERANT_WRITE_GET_LAST_WRITE)(\r
IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL * This,\r
OUT EFI_GUID * CallerId,\r
OUT EFI_LBA *Lba,\r
This print protocol defines six basic print functions to \r
print the format unicode and ascii string.\r
\r
-Copyright (c) 2006 - 2009, Intel Corporation\r
+Copyright (c) 2006 - 2010, Intel Corporation\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
**/\r
typedef\r
UINTN\r
-(EFIAPI *UNICODE_BS_PRINT) (\r
+(EFIAPI *UNICODE_BS_PRINT)(\r
OUT CHAR16 *StartOfBuffer,\r
IN UINTN BufferSize,\r
IN CONST CHAR16 *FormatString,\r
**/\r
typedef\r
UINTN\r
-(EFIAPI *UNICODE_S_PRINT) (\r
+(EFIAPI *UNICODE_S_PRINT)(\r
OUT CHAR16 *StartOfBuffer,\r
IN UINTN BufferSize,\r
IN CONST CHAR16 *FormatString,\r
**/\r
typedef\r
UINTN\r
-(EFIAPI *UNICODE_BS_PRINT_ASCII_FORMAT) (\r
+(EFIAPI *UNICODE_BS_PRINT_ASCII_FORMAT)(\r
OUT CHAR16 *StartOfBuffer,\r
IN UINTN BufferSize,\r
IN CONST CHAR8 *FormatString,\r
**/\r
typedef\r
UINTN\r
-(EFIAPI *UNICODE_S_PRINT_ASCII_FORMAT) (\r
+(EFIAPI *UNICODE_S_PRINT_ASCII_FORMAT)(\r
OUT CHAR16 *StartOfBuffer,\r
IN UINTN BufferSize,\r
IN CONST CHAR8 *FormatString,\r
**/\r
typedef\r
UINTN\r
-(EFIAPI *UNICODE_VALUE_TO_STRING) (\r
+(EFIAPI *UNICODE_VALUE_TO_STRING)(\r
IN OUT CHAR16 *Buffer,\r
IN UINTN Flags,\r
IN INT64 Value,\r
**/\r
typedef\r
UINTN\r
-(EFIAPI *ASCII_BS_PRINT) (\r
+(EFIAPI *ASCII_BS_PRINT)(\r
OUT CHAR8 *StartOfBuffer,\r
IN UINTN BufferSize,\r
IN CONST CHAR8 *FormatString,\r
**/\r
typedef\r
UINTN\r
-(EFIAPI *ASCII_S_PRINT) (\r
+(EFIAPI *ASCII_S_PRINT)(\r
OUT CHAR8 *StartOfBuffer,\r
IN UINTN BufferSize,\r
IN CONST CHAR8 *FormatString,\r
**/\r
typedef\r
UINTN\r
-(EFIAPI *ASCII_BS_PRINT_UNICODE_FORMAT) (\r
+(EFIAPI *ASCII_BS_PRINT_UNICODE_FORMAT)(\r
OUT CHAR8 *StartOfBuffer,\r
IN UINTN BufferSize,\r
IN CONST CHAR16 *FormatString,\r
**/\r
typedef\r
UINTN\r
-(EFIAPI *ASCII_S_PRINT_UNICODE_FORMAT) (\r
+(EFIAPI *ASCII_S_PRINT_UNICODE_FORMAT)(\r
OUT CHAR8 *StartOfBuffer,\r
IN UINTN BufferSize,\r
IN CONST CHAR16 *FormatString,\r
**/\r
typedef\r
UINTN\r
-(EFIAPI *ASCII_VALUE_TO_STRING) (\r
+(EFIAPI *ASCII_VALUE_TO_STRING)(\r
OUT CHAR8 *Buffer,\r
IN UINTN Flags,\r
IN INT64 Value,\r
can boot the machine with the old boot block backed up in it. The swap operation is platform dependent, so \r
other protocols such as FTW (Fault Tolerant Write) should use this protocol instead of handling hardware directly.\r
\r
-Copyright (c) 2009, Intel Corporation \r
+Copyright (c) 2009 - 2010, Intel Corporation \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_GET_RANGE_LOCATION) (\r
+(EFIAPI *EFI_GET_RANGE_LOCATION)(\r
IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This,\r
OUT EFI_PHYSICAL_ADDRESS *BootBlockBase,\r
OUT UINTN *BootBlockSize,\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_GET_SWAP_STATE) (\r
+(EFIAPI *EFI_GET_SWAP_STATE)(\r
IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This,\r
OUT BOOLEAN *SwapState\r
);\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SET_SWAP_STATE) (\r
+(EFIAPI *EFI_SET_SWAP_STATE)(\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
+(EFIAPI *EFI_GET_RTC_POWER_STATUS)(\r
IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This,\r
OUT BOOLEAN *RtcPowerFailed\r
);\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_GET_SWAP_LOCK_CAPABILITY) (\r
+(EFIAPI *EFI_GET_SWAP_LOCK_CAPABILITY)(\r
IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This,\r
OUT EFI_SWAP_LOCK_CAPABILITY *LockCapability\r
);\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SET_SWAP_LOCK) (\r
+(EFIAPI *EFI_SET_SWAP_LOCK)(\r
IN EFI_SWAP_ADDRESS_RANGE_PROTOCOL *This,\r
IN EFI_SWAP_LOCK_CAPABILITY LockCapability,\r
IN BOOLEAN NewLockState\r