Skip to content

Commit 0ed88e7

Browse files
ZR233nicholasbishop
authored andcommitted
feat: add LoongArch64 architecture support and update latest prebuilt version
1 parent 6170891 commit 0ed88e7

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

ovmf-prebuilt/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ pub struct Source {
4343
pub enum Arch {
4444
Aarch64,
4545
Ia32,
46+
LoongArch64,
4647
Riscv64,
4748
X64,
4849
}
@@ -53,6 +54,7 @@ impl Arch {
5354
match self {
5455
Self::Aarch64 => "aarch64",
5556
Self::Ia32 => "ia32",
57+
Self::LoongArch64 => "loongarch64",
5658
Self::Riscv64 => "riscv64",
5759
Self::X64 => "x64",
5860
}

ovmf-prebuilt/src/source_constants.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,14 @@ impl Source {
2727
sha256: "dd59d3d52f0a643f07a488f80ab40f89c30f360999d98cdffb30e1eba5476641",
2828
};
2929

30+
pub const EDK2_STABLE202505_R2: Self = Self {
31+
tag: "edk2-stable202505-r2",
32+
sha256: "3502d59957d5af87b3717af3e10d5e92d7575a2a37aa8b1fe6d42a92b786fcdd",
33+
};
34+
3035
/// Latest release tag.
3136
///
3237
/// Note that this is not necessarily the latest prebuilt available
3338
/// from the git repo.
34-
pub const LATEST: Self = Self::EDK2_STABLE202502_R2;
39+
pub const LATEST: Self = Self::EDK2_STABLE202505_R2;
3540
}

0 commit comments

Comments
 (0)