Starting Point

This commit is contained in:
Hannes
2025-10-26 15:21:48 +01:00
parent 788ca8b1c0
commit 532c3fc295
21 changed files with 631 additions and 0 deletions

1
kernel/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
# empty gitignore

20
kernel/start.c Normal file
View File

@@ -0,0 +1,20 @@
#include <arch/bsp/yellow_led.h>
static volatile unsigned int counter = 0;
static void increment_counter(void)
{
counter++;
}
void start_kernel [[noreturn]] (void);
void start_kernel [[noreturn]] (void)
{
init_yellow();
yellow_on();
// Endless counter
while (true) {
increment_counter();
}
}