wrote a basic bootloader

This commit is contained in:
2025-02-25 01:14:52 +00:00
commit 012b0454ed
36 changed files with 1667 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
[build]
target = "x86_64-custom.json"
[unstable]
build-std = ["core", "compiler_builtins"]
build-std-features = ["compiler-builtins-mem"]
[target.'cfg(target_os = "none")']
runner = "bootimage runner"
[target.x86_64-custom]
rustflags = [
"-C", "link-arg=-Tlinker.ld",
"-C", "code-model=kernel",
"-C", "relocation-model=static"
]