Revision: 18509
http://sourceforge.net/p/edk2/code/18509
Author: hwu1225
Date: 2015-09-18 03:03:38 +0000 (Fri, 18 Sep 2015)
Log Message:
-----------
ShellPkg: Added SMBIOS 3.0 support in dmem.
Added SMBIOS 3.0 support in dmdem Shell command since SMBIOS 3.0 uses a
different GUID in the System Configuration Table.
(Sync patch r18506 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/18506
Modified Paths:
--------------
branches/UDK2015/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c
Modified: branches/UDK2015/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c
===================================================================
--- branches/UDK2015/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c
2015-09-18 03:01:05 UTC (rev 18508)
+++ branches/UDK2015/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c
2015-09-18 03:03:38 UTC (rev 18509)
@@ -1,8 +1,9 @@
/** @file
Main file for Dmem shell Debug1 function.
- (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
+ (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>
+ (C) Copyright 2015 Hewlett Packard Enterprise Development LP<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
@@ -193,6 +194,10 @@
SmbiosTableAddress =
(UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable;
continue;
}
+ if (CompareGuid (&gST->ConfigurationTable[TableWalker].VendorGuid,
&gEfiSmbios3TableGuid)) {
+ SmbiosTableAddress = (UINT64) (UINTN)
gST->ConfigurationTable[TableWalker].VendorTable;
+ continue;
+ }
if (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid,
&gEfiMpsTableGuid)) {
MpsTableAddress =
(UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable;
continue;
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits