Beginning of refactor

This commit is contained in:
Jozef Nagy 2025-06-07 14:12:21 +02:00
parent 02e846f1ab
commit 860c9ea53c
Signed by untrusted user who does not match committer: crz
GPG key ID: 459A4811CEAC7068
5 changed files with 52 additions and 17 deletions

View file

@ -38,6 +38,16 @@ void axboot_init()
config_init();
#if defined(__aarch64__) && !defined(AXBOOT_UEFI)
struct axboot_entry rpi_kernel = {
.name = "AurixOS for Raspberry Pi",
.image_path = "\\System\\axkrnl",
.protocol = PROTO_AURIX
};
loader_load(&rpi_kernel);
UNREACHABLE();
#endif
#ifdef AXBOOT_UEFI
#include <driver.h>
load_drivers();