/** @file\r
Floppy Peim to support Recovery function from Floppy device.\r
\r
-Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions\r
VOID *MemPage;\r
\r
FdcBlkIoDev = NULL;\r
+ ZeroMem (&MediaInfo, sizeof (EFI_PEI_BLOCK_IO_MEDIA));\r
\r
if (This == NULL) {\r
return EFI_INVALID_PARAMETER;\r
UEFI and Tiano Custom Decompress Library \r
It will do Tiano or UEFI decompress with different verison parameter.\r
\r
-Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
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
UINT16 Index;\r
UINT32 Mask;\r
\r
+ ASSERT (nn < NPT);\r
//\r
// Read Extra Set Code Length Array size \r
//\r
&BootOrderSize\r
);\r
if (!EFI_ERROR (Status)) {\r
+ ASSERT (BootOrder != NULL);\r
BbsIndex = Index;\r
OptionNumber = BootOrder[BootOrderSize / sizeof (UINT16) - 1];\r
}\r
NewDevicePath = DevicePathFromHandle (FoundFvHandle);\r
EfiInitializeFwVolDevicepathNode (&FvFileNode, FileGuid);\r
NewDevicePath = AppendDevicePathNode (NewDevicePath, (EFI_DEVICE_PATH_PROTOCOL *) &FvFileNode);\r
+ ASSERT (NewDevicePath != NULL);\r
*DevicePath = NewDevicePath;\r
return EFI_SUCCESS;\r
}\r
LegacyOrder = CallbackData->BmmFakeNvData.LegacyNET;\r
OldData = CallbackData->BmmOldFakeNVData.LegacyNET;\r
break;\r
- \r
- case FORM_SET_BEV_ORDER_ID:\r
+\r
+ default:\r
+ ASSERT (PageIdList[Index] == FORM_SET_BEV_ORDER_ID);\r
OptionMenu = (BM_MENU_OPTION *) &LegacyBEVMenu;\r
BbsType = BBS_BEV_DEVICE;\r
LegacyOrder = CallbackData->BmmFakeNvData.LegacyBEV;\r
OldData = CallbackData->BmmOldFakeNVData.LegacyBEV;\r
break;\r
- \r
- default:\r
- DEBUG ((DEBUG_ERROR, "Invalid command ID for updating page!\n"));\r
- break;\r
}\r
\r
if (NULL != VarData) {\r
for the image to be programmed, and the flash area that is going to be\r
programed.\r
\r
- Copyright (c) 2002 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2002 - 2014, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions\r
if (EFI_ERROR (Status)) {\r
return Status;\r
}\r
+ ASSERT (ConfigData != NULL);\r
\r
//\r
// Now find the update image. The update image should be put in a FV, and then\r