Commit c58c4e1
committed
edk2-pytool-library: Add LoongArch64 host architecture support
The current GetHostInfo() does not recognize 'loongarch64' returned by
platform.machine(). This causes stuart_setup and other edk2 tools to fail
on LoongArch systems.
This patch adds basic detection for LoongArch64 and treats it as a 64-bit
ARM-like architecture, which allows edk2 Python tools to run on LoongArch.
.cspell.json reference to upstream CSpell word submission:
https://github.com/streetsidesoftware/cspell-dicts/pull/5005/files
Signed-off-by: Dongyan Qian <qiandongyan@loongson.cn>1 parent a36394e commit c58c4e1
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
| |||
0 commit comments