]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
ShellPkg/UefiShellDebug1CommandsLib: Update to support SmBios 3.3.0
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / SmbiosView / PrintInfo.c
index cfd7a2b9e986f61e95da5157c6cef75140e98f5f..a75caff3de3457129e9dff75ddb8e2df95ed372f 100644 (file)
@@ -3,7 +3,7 @@
 \r
   Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>\r
   (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>\r
-  (C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP<BR>\r
+  (C) Copyright 2015-2019 Hewlett Packard Enterprise Development LP<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -1168,6 +1168,13 @@ SmbiosPrintStructure (
     PRINT_STRUCT_VALUE_H (Struct, Type43, OemDefined);\r
     break;\r
 \r
+  //\r
+  // Processor Additional Information (Type 44)\r
+  //\r
+  case 44:\r
+    DisplayProcessorArchitectureType (Struct->Type44->ProcessorSpecificBlock.ProcessorArchType, Option);\r
+    break;\r
+\r
   //\r
   // Inactive (Type 126)\r
   //\r
@@ -2350,6 +2357,18 @@ DisplayProcessorFamily2 (
       Print (L"Video Processor\n");\r
       break;\r
 \r
+    case 0x200:\r
+      Print (L"RISC-V RV32\n");\r
+      break;\r
+\r
+    case 0x201:\r
+      Print (L"RISC-V RV64\n");\r
+      break;\r
+\r
+    case 0x202:\r
+      Print (L"RISC-V RV128\n");\r
+      break;\r
+\r
     default:\r
      ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_UNDEFINED_PROC_FAMILY), gShellDebug1HiiHandle);\r
   }\r