Repository navigation
0.1.0: x86_64-uefi, its conventions, the board's exit, and QEMU with the edk2 firmware as the runner - #1
Closed
Sunrisepeak wants to merge 2 commits into
Closed
0.1.0: x86_64-uefi, its conventions, the board's exit, and QEMU with the edk2 firmware as the runner#1Sunrisepeak wants to merge 2 commits into
Sunrisepeak wants to merge 2 commits into
Conversation
Sunrisepeak
force-pushed
the
feat/0.9.0-family
branch
2 times, most recently
from
November 13, 2026 05:39
9676332 to
0f25205
Compare
…emory functions, QEMU with the edk2 firmware as the runner
Sunrisepeak
force-pushed
the
feat/0.9.0-family
branch
from
November 13, 2026 06:19
0f25205 to
4d091d0
Compare
…n on each host; the runner requires dirun 0.3.1 examples/hello is written against openkal alone (a static initialiser, the arguments, the two clocks, an over-aligned allocation) and returns 42. CI builds it on Linux, macOS and Windows, checks the PE32+ EFI-application header, and runs it through the platform's runner.
|
Superseded by openkal-platform 0.28.0 (mcpplibs/openkal-platform#31), which serves UEFI on the openkal route: the row |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The platform package for UEFI applications (mcpp SPEC-013).
[[platform.define]] x86_64-uefi: clang'sx86_64-unknown-uefi, PE, theuefiexecution model,.efi.-nostdlib, the entryefi_main, subsystem EFI application; the link addsboard/qemu-exit.S(the board's exit: the status to QEMU's debug-exit port, only when the processor names QEMU's hypervisor) andruntime/mem.S(memset, memcpy, memmove, memcmp in the Microsoft x64 convention).EFI/BOOT/BOOTX64.EFIfrom a read-only virtio FAT disk under q35, with the edk2 code image as a flash device, and reads the status from the debug-exit device;requiresnamesxim:dirun@0.3.0,xim:qemu-x86@9.2.4-1(the emulator, named by path through--qemu, built for Linux, macOS and Windows) andxim:ovmf@9.2.4(the firmware, data, for every host).Merged together with mcpplibs/openkal-uefi's 0.9.0, whose CI builds and boots its example through this branch.