diff options
author | Dongyan Qian <qiandongyan@loongson.cn> | 2024-01-16 14:50:15 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-02-02 01:52:58 +0000 |
commit | 927ea1364d047d54cb67e0f231644f295c032944 (patch) | |
tree | 1e25aae4ec13abfc21ac410b64e496fdc740d463 /ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | |
parent | a3aab12c34dba35d1fd592f4939cb70617668f7e (diff) | |
download | edk2-927ea1364d047d54cb67e0f231644f295c032944.zip edk2-927ea1364d047d54cb67e0f231644f295c032944.tar.gz edk2-927ea1364d047d54cb67e0f231644f295c032944.tar.bz2 |
ShellPkg: Update smbiosview for LoongArch
According to SMBIOS spec3.6, LoongArch information support has been added,
so this patch is submitted for display as information in smbiosview.
Cc: Zhichao Gao <zhichao.gao@intel.com>
Cc: Chao Li <lichao@loongson.cn>
Signed-off-by: Dongyan Qian <qiandongyan@loongson.cn>
Reviewed-by: Chao Li <lichao@loongson.cn>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index b6968cb..4f29eed 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -2610,6 +2610,74 @@ DisplayProcessorFamily2 ( Print (L"RISC-V RV128\n");
break;
+ case 0x258:
+ Print (L"LoongArch\n");
+ break;
+
+ case 0x259:
+ Print (L"Loongson1\n");
+ break;
+
+ case 0x25A:
+ Print (L"Loongson2\n");
+ break;
+
+ case 0x25B:
+ Print (L"Loongson3\n");
+ break;
+
+ case 0x25C:
+ Print (L"Loongson2K\n");
+ break;
+
+ case 0x25D:
+ Print (L"Loongson3A\n");
+ break;
+
+ case 0x25E:
+ Print (L"Loongson3B\n");
+ break;
+
+ case 0x25F:
+ Print (L"Loongson3C\n");
+ break;
+
+ case 0x260:
+ Print (L"Loongson3D\n");
+ break;
+
+ case 0x261:
+ Print (L"Loongson3E\n");
+ break;
+
+ case 0x262:
+ Print (L"DualCoreLoongson2K\n");
+ break;
+
+ case 0x26C:
+ Print (L"QuadCoreLoongson3A\n");
+ break;
+
+ case 0x26D:
+ Print (L"MultiCoreLoongson3A\n");
+ break;
+
+ case 0x26E:
+ Print (L"QuadCoreLoongson3B\n");
+ break;
+
+ case 0x26F:
+ Print (L"MultiCoreLoongson3B\n");
+ break;
+
+ case 0x270:
+ Print (L"MultiCoreLoongson3C\n");
+ break;
+
+ case 0x271:
+ Print (L"MultiCoreLoongson3D\n");
+ break;
+
default:
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_UNDEFINED_PROC_FAMILY), gShellDebug1HiiHandle);
}
|