Revision: 14238
          http://edk2.svn.sourceforge.net/edk2/?rev=14238&view=rev
Author:   li-elvin
Date:     2013-04-02 07:44:11 +0000 (Tue, 02 Apr 2013)
Log Message:
-----------
Fill SMBIOS BCD revision field.

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

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c

Modified: trunk/edk2/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c     2013-04-02 
03:46:16 UTC (rev 14237)
+++ trunk/edk2/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c     2013-04-02 
07:44:11 UTC (rev 14238)
@@ -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 @@
   //
   0,
   //
-  // StructureTableLength, TO BE FILLED
+  // TableLength, TO BE FILLED
   //
   0,
   //
-  // StructureTableAddress, TO BE FILLED
+  // TableAddress, TO BE FILLED
   //
   0,
   //
@@ -101,7 +101,8 @@
   //
   // SmbiosBcdRevision
   //
-  0  
+  (UINT8) ((FixedPcdGet16 (PcdSmbiosVersion) >> 4) & 0xf0)
+  | (UINT8) (FixedPcdGet16 (PcdSmbiosVersion) & 0x0f)
 };
 
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to