[edk2-devel] [PATCH 1/1] ShellPkg/SmbiosView: Add Type45 entry to query table

Werner Lewis werner.lewis at arm.com
Tue Oct 3 12:39:42 UTC 2023


The type field for Smbios tables in smbiosview is set from values in
this query table. An entry is added to correctly display the Type 45
table name rather than "Undefined Value" in smbiosview output.

Signed-off-by: Werner Lewis <werner.lewis at arm.com>
---
 .../UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c       | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
index 82bb7a41f0e6..e9bc92314a46 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
@@ -5,6 +5,7 @@
   Copyright (c) 2005 - 2023, Intel Corporation. All rights reserved.<BR>
   (C) Copyright 2016-2019 Hewlett Packard Enterprise Development LP<BR>
   Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+  Copyright (c) 2023, Arm Limited. All rights reserved.<BR>
   SPDX-License-Identifier: BSD-2-Clause-Patent
 
 **/
@@ -3882,6 +3883,10 @@ TABLE_ITEM  StructureTypeInfoTable[] = {
     44,
     L" Processor Additional Information"
   },
+  {
+    45,
+    L" Firmware Inventory Information"
+  },
   {
     0x7E,
     L" Inactive"
-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109293): https://edk2.groups.io/g/devel/message/109293
Mute This Topic: https://groups.io/mt/101736631/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list