diff options
| author | czjstmax <jstmaxlol@disroot.org> | 2026-05-12 23:03:08 +0200 |
|---|---|---|
| committer | czjstmax <jstmaxlol@disroot.org> | 2026-05-12 23:03:08 +0200 |
| commit | c992eb494783e43ce92cdf8d9c0d88998f972c68 (patch) | |
| tree | 68d0b8d7f4702c7f29ff56c4f8085e40e1bdb433 | |
| parent | 748582d01e62cc941eae152e934a8b50499c29e4 (diff) | |
update style
Signed-off-by: czjstmax <jstmaxlol@disroot.org>
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | src/kernel/io.c | 3 | ||||
| -rw-r--r-- | src/kernel/main.c | 6 |
3 files changed, 6 insertions, 5 deletions
@@ -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 <features.h> #include <stddef.h> // 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 } |