/**@file\r
\r
- Firmware Volume Block Protocol Runtime Abstraction\r
+ Firmware Volume Block Protocol Runtime Interface Abstraction\r
+ And FVB Extension protocol Runtime Interface Abstraction\r
\r
mFvbEntry is an array of Handle Fvb pairs. The Fvb Lib Instance matches the\r
index in the mFvbEntry array. This should be the same sequence as the FVB's\r
\r
If you are using any of these lib functions.you must first call FvbInitialize ().\r
\r
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2008, 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
IN EFI_LBA Lba,\r
IN UINTN Offset,\r
IN OUT UINTN *NumBytes,\r
- IN UINT8 *Buffer\r
+ OUT UINT8 *Buffer\r
)\r
{\r
+ ASSERT (NumBytes != NULL);\r
+ ASSERT (Buffer != NULL);\r
+ \r
if (Instance >= mFvbCount) {\r
return EFI_INVALID_PARAMETER;\r
}\r
IN UINT8 *Buffer\r
)\r
{\r
+ ASSERT (NumBytes != NULL);\r
+ \r
if (Instance >= mFvbCount) {\r
return EFI_INVALID_PARAMETER;\r
}\r
OUT EFI_FVB_ATTRIBUTES *Attributes\r
)\r
{\r
+ ASSERT (Attributes != NULL);\r
+ \r
if (Instance >= mFvbCount) {\r
return EFI_INVALID_PARAMETER;\r
}\r
IN OUT EFI_FVB_ATTRIBUTES *Attributes\r
)\r
{\r
+ ASSERT (Attributes != NULL);\r
+ \r
if (Instance >= mFvbCount) {\r
return EFI_INVALID_PARAMETER;\r
}\r
OUT EFI_PHYSICAL_ADDRESS *BaseAddress\r
)\r
{\r
+ ASSERT (BaseAddress != NULL);\r
+ \r
if (Instance >= mFvbCount) {\r
return EFI_INVALID_PARAMETER;\r
}\r
OUT UINTN *NumOfBlocks\r
)\r
{\r
+ ASSERT (BlockSize != NULL);\r
+ ASSERT (NumOfBlocks != NULL);\r
+ \r
if (Instance >= mFvbCount) {\r
return EFI_INVALID_PARAMETER;\r
}\r