Fill SMBIOS BCD revision field.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14238 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
li-elvin 2013-04-02 07:44:11 +00:00
parent adfa1abc09
commit f49146e85c
1 changed files with 5 additions and 4 deletions

View File

@ -2,7 +2,7 @@
This code produces the Smbios protocol. It also responsible for constructing
SMBIOS table into system table.
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2009 - 2013, 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
@ -87,11 +87,11 @@ SMBIOS_TABLE_ENTRY_POINT EntryPointStructureData = {
//
0,
//
// StructureTableLength, TO BE FILLED
// TableLength, TO BE FILLED
//
0,
//
// StructureTableAddress, TO BE FILLED
// TableAddress, TO BE FILLED
//
0,
//
@ -101,7 +101,8 @@ SMBIOS_TABLE_ENTRY_POINT EntryPointStructureData = {
//
// SmbiosBcdRevision
//
0
(UINT8) ((FixedPcdGet16 (PcdSmbiosVersion) >> 4) & 0xf0)
| (UINT8) (FixedPcdGet16 (PcdSmbiosVersion) & 0x0f)
};