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
2024-10-08 21:17:10 +03:00
parent b301e51432
commit 81d26edaa3
27 changed files with 534 additions and 248 deletions

View File

@@ -207,3 +207,9 @@ long atol(const char *s)
return val;
}
void writel(unsigned int value, void* address)
{
volatile unsigned int* ptr = (volatile unsigned int*)address;
*ptr = value;
}