/** @file\r
\r
-Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2011, 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
**/\r
\r
#include "SmbiosGen.h"\r
-EFI_HII_DATABASE_PROTOCOL *gHiiDatabase;\r
extern UINT8 SmbiosGenDxeStrings[];\r
EFI_SMBIOS_PROTOCOL *gSmbios;\r
EFI_HII_HANDLE gStringHandle;\r
if (EFI_ERROR (Status)) {\r
return Status;\r
}\r
-\r
- Status = gBS->LocateProtocol (\r
- &gEfiHiiDatabaseProtocolGuid,\r
- NULL,\r
- (VOID**)&gHiiDatabase\r
- );\r
-\r
- if (EFI_ERROR (Status)) {\r
- return Status;\r
- }\r
\r
gStringHandle = HiiAddPackages (\r
&gEfiCallerIdGuid,\r
EFI_STATUS Status;\r
EFI_SMBIOS_HANDLE SmbiosHandle;\r
\r
- SmbiosHandle = 0;\r
+ SmbiosHandle = SMBIOS_HANDLE_PI_RESERVED;\r
Status = Smbios->Add (\r
Smbios,\r
NULL,\r