From: "gaoliming via groups.io" <gaoliming=byosoft.com.cn@groups.io>
To: <devel@edk2.groups.io>, <qiandongyan@loongson.cn>
Cc: "'Chao Li'" <lichao@loongson.cn>
Subject: 回复: [edk2-devel] [PATCH 1/2] MdeModulePkg: Dxe: add LOONGARCH64 to mMachineTypeInfo
Date: Wed, 31 Jan 2024 17:56:05 +0800 [thread overview]
Message-ID: <028301da542b$b4b35730$1e1a0590$@byosoft.com.cn> (raw)
In-Reply-To: <20240116071133.38331-1-qiandongyan@loongson.cn>
This change is good. Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Thanks
Liming
> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Dongyan
> Qian
> 发送时间: 2024年1月16日 15:12
> 收件人: devel@edk2.groups.io
> 抄送: Liming Gao <gaoliming@byosoft.com.cn>; Chao Li
> <lichao@loongson.cn>
> 主题: [edk2-devel] [PATCH 1/2] MdeModulePkg: Dxe: add LOONGARCH64 to
> mMachineTypeInfo
>
> This fixes messages like:
> "Image type X64 can't be loaded on <Unknown> UEFI system"
>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Chao Li <lichao@loongson.cn>
> Signed-off-by: Dongyan Qian <qiandongyan@loongson.cn>
> ---
> MdeModulePkg/Core/Dxe/Image/Image.c | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
>
> diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c
> b/MdeModulePkg/Core/Dxe/Image/Image.c
> index 6bc3a549ae..66d9840b7b 100644
> --- a/MdeModulePkg/Core/Dxe/Image/Image.c
> +++ b/MdeModulePkg/Core/Dxe/Image/Image.c
> @@ -77,12 +77,13 @@ typedef struct {
> } MACHINE_TYPE_INFO;
>
> GLOBAL_REMOVE_IF_UNREFERENCED MACHINE_TYPE_INFO
> mMachineTypeInfo[] = {
> - { EFI_IMAGE_MACHINE_IA32, L"IA32" },
> - { EFI_IMAGE_MACHINE_IA64, L"IA64" },
> - { EFI_IMAGE_MACHINE_X64, L"X64" },
> - { EFI_IMAGE_MACHINE_ARMTHUMB_MIXED, L"ARM" },
> - { EFI_IMAGE_MACHINE_AARCH64, L"AARCH64" },
> - { EFI_IMAGE_MACHINE_RISCV64, L"RISCV64" },
> + { EFI_IMAGE_MACHINE_IA32, L"IA32" },
> + { EFI_IMAGE_MACHINE_IA64, L"IA64" },
> + { EFI_IMAGE_MACHINE_X64, L"X64" },
> + { EFI_IMAGE_MACHINE_ARMTHUMB_MIXED, L"ARM" },
> + { EFI_IMAGE_MACHINE_AARCH64, L"AARCH64" },
> + { EFI_IMAGE_MACHINE_RISCV64, L"RISCV64" },
> + { EFI_IMAGE_MACHINE_LOONGARCH64, L"LOONGARCH64" },
> };
>
> UINT16 mDxeCoreImageMachineType = 0;
> --
> 2.27.0
>
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#114869): https://edk2.groups.io/g/devel/message/114869
Mute This Topic: https://groups.io/mt/104072139/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
prev parent reply other threads:[~2024-01-31 9:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-16 7:11 [edk2-devel] [PATCH 1/2] MdeModulePkg: Dxe: add LOONGARCH64 to mMachineTypeInfo Dongyan Qian
2024-01-16 7:11 ` [edk2-devel] [PATCH 2/2] ShellPkg: Update smbiosview for LoongArch Dongyan Qian
2024-01-16 12:12 ` Chao Li
2024-01-22 1:34 ` Gao, Zhichao
2024-01-16 12:11 ` [edk2-devel] [PATCH 1/2] MdeModulePkg: Dxe: add LOONGARCH64 to mMachineTypeInfo Chao Li
2024-01-31 7:00 ` Dongyan Qian
2024-01-31 9:56 ` gaoliming via groups.io [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='028301da542b$b4b35730$1e1a0590$@byosoft.com.cn' \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox