Re: [PATCH] loongarch: Change the UEFI loading mode to loongarch

2024-02-03 Thread lixianglai
Hi  maobibo: diff --git a/include/hw/loongarch/virt.h b/include/hw/loongarch/virt.h index 6ef9a92394..d1fba1204e 100644 --- a/include/hw/loongarch/virt.h +++ b/include/hw/loongarch/virt.h @@ -20,8 +20,10 @@   #define VIRT_BIOS_BASE  0x1c00UL   #define VIRT_BIOS_SIZE  (4 * M

Re: [PATCH] loongarch: Change the UEFI loading mode to loongarch

2024-02-03 Thread lixianglai
Hi  maobibo: diff --git a/include/hw/loongarch/virt.h b/include/hw/loongarch/virt.h index 6ef9a92394..d1fba1204e 100644 --- a/include/hw/loongarch/virt.h +++ b/include/hw/loongarch/virt.h @@ -20,8 +20,10 @@   #define VIRT_BIOS_BASE  0x1c00UL   #define VIRT_BIOS_SIZE  (4 * M

Re: [PATCH] loongarch: Change the UEFI loading mode to loongarch

2024-02-03 Thread maobibo
On 2024/2/4 上午9:54, Xianglai Li wrote: The UEFI loading mode in loongarch is very different from that in other architectures:loongarch's UEFI code is in rom, while other architectures' UEFI code is in flash. loongarch UEFI can be loaded as follows: -machine virt,pflash=pflash0-format -bios ./

[PATCH] loongarch: Change the UEFI loading mode to loongarch

2024-02-03 Thread Xianglai Li
The UEFI loading mode in loongarch is very different from that in other architectures:loongarch's UEFI code is in rom, while other architectures' UEFI code is in flash. loongarch UEFI can be loaded as follows: -machine virt,pflash=pflash0-format -bios ./QEMU_EFI.fd Other architectures load UEFI u