summaryrefslogtreecommitdiff
path: root/DuetPkg/SmbiosGenDxe
diff options
context:
space:
mode:
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-21 08:52:27 +0000
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-21 08:52:27 +0000
commit979a00fab9658bfdcb1037434c1251b896a72b02 (patch)
treef2a6ba726ec89824f94f9bb6989880975b331cfc /DuetPkg/SmbiosGenDxe
parenteb2423c9ee10b31d6ff4d34761a083df0486c5b8 (diff)
downloadedk2-platforms-979a00fab9658bfdcb1037434c1251b896a72b02.tar.xz
According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record.
Signed-off-by: lzeng14 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12748 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/SmbiosGenDxe')
-rw-r--r--DuetPkg/SmbiosGenDxe/SmbiosGen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/DuetPkg/SmbiosGenDxe/SmbiosGen.c b/DuetPkg/SmbiosGenDxe/SmbiosGen.c
index 0b5757c78a..03e093639b 100644
--- a/DuetPkg/SmbiosGenDxe/SmbiosGen.c
+++ b/DuetPkg/SmbiosGenDxe/SmbiosGen.c
@@ -1,6 +1,6 @@
/** @file
-Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -330,7 +330,7 @@ LogSmbiosData (
EFI_STATUS Status;
EFI_SMBIOS_HANDLE SmbiosHandle;
- SmbiosHandle = 0;
+ SmbiosHandle = SMBIOS_HANDLE_PI_RESERVED;
Status = Smbios->Add (
Smbios,
NULL,