This commit is contained in:
Karina
2025-12-21 17:45:35 +04:00
parent 30b786c891
commit e5ce668a8a
5 changed files with 10 additions and 1266 deletions
+5
View File
@@ -0,0 +1,5 @@
.cache
build
.venv
kernel/data
bootloader/src/uefi
+1
View File
@@ -40,6 +40,7 @@ if(QEMU_EXE)
-net none
-serial stdio
-m 512M
#-s -S
DEPENDS image
)
endif()
+1
View File
@@ -11,6 +11,7 @@ add_compile_options(
-fno-stack-protector
-fno-builtin
-Wall -Wextra
-g
)
add_library(shitgui STATIC src/modules/shitgui.c)
+3 -1
View File
@@ -24,7 +24,9 @@ void kmain(Bootinfo* info) {
SG_Point logo_point = {sg_ctx.width-100, 100};
sg_put_img(&sg_ctx, &logo_point, &logo_img);
kprint("Welcome to termOS!!!\n");
kprintf("MemoryMap located at %x; \nMemory map size is %d", (u64)info->mem.map, (u64)info->mem.map_size);
kprintf("MemoryMap located at %x; \nMemory map size is %d\n", (u64)info->mem.map, (u64)info->mem.map_size);
for (i32 i = 0; i < 1000; i++) kprintf("Test %d\n", i);
while (1) { __asm__("hlt"); }
}
-1265
View File
File diff suppressed because it is too large Load Diff