/** @file\r
Serial driver for standard UARTS on an ISA bus.\r
\r
-Copyright (c) 2006 - 2009, Intel Corporation<BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation<BR>\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
Status = EFI_ALREADY_STARTED;\r
for (Index = 0; Index < EntryCount; Index++) {\r
- if (OpenInfoBuffer[Index].Attributes & EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER) {\r
+ if ((OpenInfoBuffer[Index].Attributes & EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER) != 0) {\r
Status = gBS->OpenProtocol (\r
OpenInfoBuffer[Index].ControllerHandle,\r
&gEfiSerialIoProtocolGuid,\r
#\r
# This file is used to build all modules in IntelFrameworkModulePkg.\r
#\r
-# Copyright (c) 2007 - 2009, Intel Corporation\r
+# Copyright (c) 2007 - 2010, Intel Corporation\r
#\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
gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0\r
gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0xFFFB0000\r
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200\r
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8\r
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|1\r
/** @file\r
BDS Lib functions which relate with create or process the boot option.\r
\r
-Copyright (c) 2004 - 2009, Intel Corporation. <BR>\r
+Copyright (c) 2004 - 2010, Intel Corporation. <BR>\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
BufferSize = StrSize(BootStringNumber);\r
BufferSize += StrSize(HiiString);\r
Option->Description = AllocateZeroPool(BufferSize);\r
+ ASSERT (Option->Description != NULL);\r
StrCpy (Option->Description, HiiString);\r
if (StrnCmp (BootStringNumber, L"0", 1) != 0) {\r
StrCat (Option->Description, L" ");\r
\r
Boot option manipulation\r
\r
-Copyright (c) 2004 - 2009, Intel Corporation. <BR>\r
+Copyright (c) 2004 - 2010, Intel Corporation. <BR>\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
if (HiiString != NULL) {\r
NewLoadContext->Description = AllocateZeroPool(StringSize + StrSize(HiiString));\r
+ ASSERT (NewLoadContext->Description != NULL);\r
StrCpy (NewLoadContext->Description, HiiString);\r
if (StrnCmp ((UINT16*)LoadOptionPtr, L"0", 1) != 0) {\r
StrCat (NewLoadContext->Description, L" ");\r
/** @file\r
The platform boot manager reference implementation\r
\r
-Copyright (c) 2004 - 2008, Intel Corporation. <BR>\r
+Copyright (c) 2004 - 2010, Intel Corporation. <BR>\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
BufferSize = StrSize(BootStringNumber);\r
BufferSize += StrSize(HiiString);\r
Option->Description = AllocateZeroPool(BufferSize);\r
+ ASSERT (Option->Description != NULL);\r
StrCpy (Option->Description, HiiString);\r
if (StrnCmp (BootStringNumber, L"0", 1) != 0) {\r
StrCat (Option->Description, L" ");\r
3) A support protocol is not found, and the data is not available to be read\r
without it. This results in EFI_PROTOCOL_ERROR.\r
\r
-Copyright (c) 2006 - 2009, Intel Corporation. <BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation. <BR>\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
if (EFI_ERROR (Status)) {\r
return Status;\r
}\r
+ ASSERT (CurrentChildNode != NULL);\r
} else {\r
ASSERT (EFI_ERROR (ErrorStatus));\r
return ErrorStatus;\r
if (EFI_ERROR (Status)) {\r
goto GetSection_Done;\r
}\r
+ ASSERT (ChildNode != NULL);\r
+ ASSERT (ChildStreamNode != NULL);\r
CopySize = ChildNode->Size - sizeof (EFI_COMMON_SECTION_HEADER);\r
CopyBuffer = ChildStreamNode->StreamBuffer + ChildNode->OffsetInStream + sizeof (EFI_COMMON_SECTION_HEADER);\r
*AuthenticationStatus = ExtractedAuthenticationStatus;\r