gitignore: add .cpio

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-05-13 04:47:59 -04:00
commit f0a9ff299b
27 changed files with 253 additions and 245 deletions

View file

@ -1,4 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* vbos main entry point:
* VERY BAD OS: a hobby operating system
*
* Copyright 2023-2026 Michael Shaw
*/
#include <kernel/common.h>
#include <kernel/buddy.h>
#include <kernel/mem.h>
@ -42,6 +48,7 @@ static void kmain()
list_init();
kalloc_init();
vfs_init();
arch_init();
device_layer_init();
tty_layer_init();
@ -51,19 +58,17 @@ static void kmain()
int rows;
int cols;
tty_clear_screen(tty_printf);
tty_get_size(tty_printf, &rows, &cols);
tty_setlf(tty_printf);
tty_set_cursor_pos(tty_printf, 0, 0);
/* start the kernel */
arch_init();
page_init();
do_initcalls();
krdy("Welcome to vbos!\n" COL_RESET);
yield();
}