[FREELDR] Support compiling freeldr as a UEFI loader + Implement UI functions (#5171)
authorJustin Miller <justinmiller100@gmail.com>
Sun, 19 Mar 2023 19:13:16 +0000 (12:13 -0700)
committerGitHub <noreply@github.com>
Sun, 19 Mar 2023 19:13:16 +0000 (20:13 +0100)
commit150f7212736bfb5da500cbafa58c0671d0cc8122
tree40a5fde5c0d0d75c7a2ba915d7abb3571a5aca73
parent995630cceca4c86dc51587c30fc8bc7367b0c7ca
[FREELDR] Support compiling freeldr as a UEFI loader + Implement UI functions (#5171)

First batch of changes to implement a UEFI version of freeldr:
- Compile freeldr as EFI binary on top of the existing loader.
- Stub out various functions so we can create a UEFI machine-type in freeldr.
- Implement all of the video output functions so we can display a pretty freeldr BSoD :)
15 files changed:
boot/boot_images.cmake
boot/freeldr/freeldr/CMakeLists.txt
boot/freeldr/freeldr/arch/uefi/stubs.c [new file with mode: 0644]
boot/freeldr/freeldr/arch/uefi/ueficon.c [new file with mode: 0644]
boot/freeldr/freeldr/arch/uefi/uefildr.c [new file with mode: 0644]
boot/freeldr/freeldr/arch/uefi/uefisetup.c [new file with mode: 0644]
boot/freeldr/freeldr/arch/uefi/uefiutil.c [new file with mode: 0644]
boot/freeldr/freeldr/arch/uefi/uefivid.c [new file with mode: 0644]
boot/freeldr/freeldr/bootmgr.c
boot/freeldr/freeldr/freeldr.c
boot/freeldr/freeldr/include/arch/uefi/machuefi.h [new file with mode: 0644]
boot/freeldr/freeldr/include/arch/uefi/uefildr.h [new file with mode: 0644]
boot/freeldr/freeldr/lib/fs/fs.c
boot/freeldr/freeldr/miscboot.c
boot/freeldr/freeldr/uefi.cmake [new file with mode: 0644]