/** @file\r
\r
-Copyright (c) 2006 - 2007, 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
// Get Hob List\r
//\r
- GuidHob.Raw = GetHobList ();\r
- GuidHob.Raw = GetNextGuidHob (&gEfiSmbiosTableGuid, GuidHob.Raw);\r
+ GuidHob.Raw = GetFirstGuidHob (&gEfiSmbiosTableGuid);\r
if (GuidHob.Raw != NULL) {\r
Table = GET_GUID_HOB_DATA (GuidHob.Guid);\r
if (Table != NULL) {\r
#/*++\r
#\r
-# Copyright (c) 2006 - 2007, 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
UefiDriverEntryPoint\r
\r
[Guids]\r
- gEfiHobListGuid\r
gEfiFlashMapHobGuid\r
gEfiVariableGuid\r
gEfiGlobalVariableGuid ## PRODUCES ## Variable Guid\r
+ \r
[Protocols]\r
gEfiVariableArchProtocolGuid\r
gEfiVariableWriteArchProtocolGuid\r
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize\r
gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize\r
+\r
[Depex]\r
TRUE\r
#/*++\r
#\r
-# Copyright (c) 2007, Intel Corporation \r
+# Copyright (c) 2007 - 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
[Guids]\r
gEfiFlashMapHobGuid\r
- gEfiHobListGuid\r
\r
[Protocols]\r
gEfiSimpleFileSystemProtocolGuid\r
/*++\r
\r
-Copyright (c) 2006 - 2008, 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
UINTN Index;\r
EFI_PHYSICAL_ADDRESS Memory;\r
EFI_GCD_MEMORY_SPACE_DESCRIPTOR Descriptor;\r
- //\r
- // Get Hob List\r
- //\r
- GuidHob.Raw = GetHobList();\r
\r
- GuidHob.Raw = GetNextGuidHob (&gEfiLdrMemoryDescriptorGuid, GuidHob.Raw);\r
+ GuidHob.Raw = GetFirstGuidHob (&gEfiLdrMemoryDescriptorGuid);\r
if (GuidHob.Raw == NULL) {\r
DEBUG ((EFI_D_ERROR, "Fail to get gEfiLdrMemoryDescriptorGuid from GUID HOB LIST!\n"));\r
return;\r
/** @file\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
EFI_PHYSICAL_ADDRESS *Table;\r
EFI_PEI_HOB_POINTERS GuidHob;\r
- //\r
- // Get Hob List\r
- //\r
- GuidHob.Raw = GetHobList ();\r
- GuidHob.Raw = GetNextGuidHob (&gEfiSmbiosTableGuid, GuidHob.Raw);\r
+\r
+ GuidHob.Raw = GetFirstGuidHob (&gEfiSmbiosTableGuid);\r
if (GuidHob.Raw != NULL) {\r
Table = GET_GUID_HOB_DATA (GuidHob.Guid);\r
if (Table != NULL) {\r