OS Hello world

This commit is contained in:
2024-05-13 12:21:59 +02:00
parent f95a85de00
commit 9160f2912e
6 changed files with 99 additions and 0 deletions

7
os/build.bat Normal file
View File

@ -0,0 +1,7 @@
@echo off
IF NOT EXIST build mkdir build
clang --target=riscv32 -march=rv32im -nostdlib boot.S -c -o build\boot.o
ld.lld -T linker.ld build\boot.o -o build\kernel.elf