Skip to content

Commit

Permalink
qemu supports loading nvram.
Browse files Browse the repository at this point in the history
Signed-off-by: Xianglai Li <lixianglai@loongson.cn>
  • Loading branch information
lixianglai committed Feb 4, 2024
1 parent 684b403 commit 985ce19
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions 50-edk2-loongarch64.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@
"uefi"
],
"mapping": {
"device": "memory",
"filename": "/usr/share/edk2/loongarch64/QEMU_EFI.fd"
"device": "flash",
"mode": "split",
"executable": {
"filename": "/usr/share/edk2/loongarch64/QEMU_EFI.fd",
"format": "raw"
},
"nvram-template": {
"filename": "/usr/share/edk2/loongarch64/QEMU_VARS.fd",
"format": "raw"
}
},
"targets": [
{
Expand All @@ -17,5 +25,5 @@
],
"features": [
"acpi"
]
}
]
}
Binary file modified QEMU_EFI.fd
Binary file not shown.
Binary file modified QEMU_VARS.fd
Binary file not shown.

0 comments on commit 985ce19

Please sign in to comment.