From c992eb494783e43ce92cdf8d9c0d88998f972c68 Mon Sep 17 00:00:00 2001 From: czjstmax Date: Tue, 12 May 2026 23:03:08 +0200 Subject: update style Signed-off-by: czjstmax --- README.md | 2 +- src/kernel/io.c | 3 ++- src/kernel/main.c | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index afec91d..61e3c42 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ### müllos -a minimal and experimental x86_64 heapless unix-like OS von czjstmax. \ +a minimal and experimental x86_64 heapless unix-like OS von czjstmax. the name is based off the german word for trash. haha. > you can test müllos by running `make run` in the cloned repo. diff --git a/src/kernel/io.c b/src/kernel/io.c index 60979f6..b6ea80c 100644 --- a/src/kernel/io.c +++ b/src/kernel/io.c @@ -10,7 +10,8 @@ uint16_t cursor = 0; void VGA_RPrint(const char* str) { while(*str) { - VGA[cursor++] = (uint8_t)(*str) | 0x0700; // white on black + // white on black + VGA[cursor++] = (uint8_t)(*str) | 0x0700; str++; } } diff --git a/src/kernel/main.c b/src/kernel/main.c index b945dbb..59a08e7 100644 --- a/src/kernel/main.c +++ b/src/kernel/main.c @@ -3,6 +3,7 @@ */ // C includes +#include #include // external includes @@ -10,8 +11,7 @@ // limine things __attribute__((used, section(".limine_requests_start"))) -static volatile uint64_t -limine_requests_start_marker[] = LIMINE_REQUESTS_START_MARKER; +static volatile uint64_t limine_requests_start_marker[] = LIMINE_REQUESTS_START_MARKER; __attribute__((used, section(".limine_requests"))) static volatile uint64_t @@ -42,6 +42,6 @@ void _start(void) void kernel_main(void) { - // todo + // TODO } -- cgit v1.3.1