Finished Aurix Protocol, AxBoot logs to file now

This commit is contained in:
Jozef Nagy 2025-05-24 21:12:40 +02:00
parent b1d59e02eb
commit d1a5d7d43d
Signed by untrusted user who does not match committer: crz
GPG key ID: 459A4811CEAC7068
37 changed files with 744 additions and 221 deletions

View file

@ -17,11 +17,22 @@
/* SOFTWARE. */
/*********************************************************************************/
#include <boot/aurix.h>
#include <debug/uart.h>
void _start(void)
void _start(struct aurix_parameters *params)
{
serial_init();
if (params->revision != AURIX_PROTOCOL_REVISION) {
serial_sendstr("Aurix Protocol revision is not compatible!\n");
}
for (int i = 0; i < 100; i++) {
volatile uint32_t *fb_ptr = (uint32_t *)params->framebuffer->addr;
fb_ptr[i * (params->framebuffer->pitch / 4) + i] = 0xffffff;
}
serial_sendstr("Hello from AurixOS!\n");
for (;;) {