]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy.c
experimental support for loongson mips64el uefi
[Ventoy.git] / GRUB2 / MOD_SRC / grub-2.04 / grub-core / ventoy / ventoy.c
index f7d33319584e2bc5a5e296e06e3ed3d9bbd6c742..0fa8e5ce606fa1fe29e12b19d08f798dd2886027 100644 (file)
@@ -1427,6 +1427,11 @@ static int ventoy_arch_mode_init(void)
         g_ventoy_plat_data = VTOY_PLAT_ARM64_UEFI;
         grub_snprintf(g_arch_mode_suffix, sizeof(g_arch_mode_suffix), "%s", "aa64");
     }
+    else if (grub_strcmp(GRUB_TARGET_CPU, "mips64el") == 0)
+    {
+        g_ventoy_plat_data = VTOY_PLAT_MIPS_UEFI;
+        grub_snprintf(g_arch_mode_suffix, sizeof(g_arch_mode_suffix), "%s", "mips");
+    }
     else
     {
         g_ventoy_plat_data = VTOY_PLAT_X86_64_UEFI;