uniLoader: Mass rework

arch: aarch64: Load addresses via page + offset
arch: aarch64: Align the TEXT region
drivers: Introduce an empty framework
board: Rework to be PIC

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
This commit is contained in:
Ivaylo Ivanov committed 2024-10-08 21:22:21 +03:00
1 parent b301e51432
commit 81d26edaa3
27 files changed
+534 -248

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
# the drivers registration framework
lib-y += framework.o
+13
View File
@@ -0,0 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Drivers registration framework
* Copyright (c) 2024, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
*/
#include <drivers/framework.h>
#include <stddef.h>
// Max number of drivers that can be registered
#define MAX_DRIVERS 256
#define DRIVER_NAME_LEN 20
// TODO