• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..15-Aug-2025-

include/uefi/15-Aug-2025-

README.md A D15-Aug-2025887 3124

blockio2_protocols.cpp A D15-Aug-20255 KiB156117

blockio2_protocols.h A D15-Aug-2025803 265

blockio_protocols.cpp A D15-Aug-20253.7 KiB11790

blockio_protocols.h A D15-Aug-2025241 116

boot_service_provider.cpp A D15-Aug-202515.1 KiB391344

boot_service_provider.h A D15-Aug-20254.8 KiB160109

charset.cpp A D15-Aug-20251.6 KiB7433

charset.h A D15-Aug-2025925 298

configuration_table.cpp A D15-Aug-20251.7 KiB5027

configuration_table.h A D15-Aug-20251.2 KiB4320

debug_support.cpp A D15-Aug-20258.8 KiB256168

debug_support.h A D15-Aug-20252.3 KiB7444

defer.h A D15-Aug-20252.1 KiB7135

events.cpp A D15-Aug-20257.1 KiB227170

events.h A D15-Aug-20251.5 KiB5225

helloworld_aa64.efi A D15-Aug-202516.5 KiB

io_stack.cpp A D15-Aug-20251.1 KiB3415

io_stack.h A D15-Aug-20252.3 KiB6642

memory_protocols.cpp A D15-Aug-20256.9 KiB259216

memory_protocols.h A D15-Aug-20251.5 KiB4616

pe.h A D15-Aug-20258 KiB292253

relocation.cpp A D15-Aug-20256 KiB197117

relocation.h A D15-Aug-2025107 64

rules.mk A D15-Aug-2025717 2922

runtime_service_provider.cpp A D15-Aug-20253.4 KiB11984

runtime_service_provider.h A D15-Aug-2025801 265

switch_stack.S A D15-Aug-20251.1 KiB4220

switch_stack.h A D15-Aug-20253.1 KiB7952

text_protocol.cpp A D15-Aug-20251.2 KiB4222

text_protocol.h A D15-Aug-2025909 277

thread_utils.h A D15-Aug-2025665 2822

uefi.cpp A D15-Aug-20258.8 KiB260219

uefi_platform.cpp A D15-Aug-20255.2 KiB162118

uefi_platform.h A D15-Aug-20252.7 KiB7432

variable_mem.cpp A D15-Aug-20255 KiB177143

variable_mem.h A D15-Aug-20251.6 KiB4724

README.md

1## Build
2
3```
4make qemu-virt-arm64-test
5```
6
7Note, this may fail if your system does not have `aarch64-elf-gcc` installed. To address, download from [here](https://newos.org/toolchains/aarch64-elf-14.2.0-Linux-x86_64.tar.xz), unzip, and add the extracted dir to PATH.
8
9## Run
10
11```
12qemu-system-aarch64 -cpu max -m 512 -smp 1 -machine virt,highmem=off \
13	-kernel build-qemu-virt-arm64-test/lk.elf \
14	-net none -nographic \
15	-drive if=none,file=lib/uefi/helloworld_aa64.efi,id=blk,format=raw \
16	-device virtio-blk-device,drive=blk
17```
18
19
20Once you see the main console prompt, enter `uefi_load virtio0` to load the hello world UEFI application.
21
22```
23starting app shell
24entering main console loop
25] uefi_load virtio0
26bio_read returns 4096, took 1 msecs (4096000 bytes/sec)
27PE header machine type: aa64
28Valid UEFI application found.
29Entry function located at 0xffff000780067380
30Hello World!
31```