diff options
author | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-21 08:56:48 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-21 08:56:48 +0000 |
commit | 7ee85aa2ff751ce2420649bbb6f7db2d823dbd40 (patch) | |
tree | be9b587a23ab21cfdf4c3c2c4c6fbb45d06cb643 /Nt32Pkg/CpuRuntimeDxe | |
parent | 49975acb395627a82ea58010c658d594d8111651 (diff) | |
download | edk2-platforms-7ee85aa2ff751ce2420649bbb6f7db2d823dbd40.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@12751 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/CpuRuntimeDxe')
-rw-r--r-- | Nt32Pkg/CpuRuntimeDxe/Cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Nt32Pkg/CpuRuntimeDxe/Cpu.c b/Nt32Pkg/CpuRuntimeDxe/Cpu.c index 4ac12a4e1e..d15ac989ea 100644 --- a/Nt32Pkg/CpuRuntimeDxe/Cpu.c +++ b/Nt32Pkg/CpuRuntimeDxe/Cpu.c @@ -402,7 +402,7 @@ LogSmbiosData ( EFI_STATUS Status;
EFI_SMBIOS_HANDLE SmbiosHandle;
- SmbiosHandle = 0;
+ SmbiosHandle = SMBIOS_HANDLE_PI_RESERVED;
Status = Smbios->Add (
Smbios,
NULL,
|