mirror of https://github.com/acidanthera/audk.git
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@12752 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7ee85aa2ff
commit
b0a2498d34
|
@ -106,7 +106,7 @@ InstallAllStructures (
|
|||
//
|
||||
// Log the SMBIOS data for this structure
|
||||
//
|
||||
SmbiosHandle = 0;
|
||||
SmbiosHandle = SMBIOS_HANDLE_PI_RESERVED;
|
||||
Status = Smbios->Add (
|
||||
Smbios,
|
||||
NULL,
|
||||
|
|
Loading…
Reference in New Issue