add physical memory map

This commit is contained in:
mii443
2025-04-14 17:00:40 +09:00
parent 3b20f48161
commit 3d976b0de4
6 changed files with 83 additions and 6 deletions

View File

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2018"
[dependencies]
bootloader = "0.9"
bootloader = { version = "0.9", features = ["map_physical_memory"] }
volatile = "0.2.6"
spin = "0.5.2"
x86_64 = "0.14.2"
@ -17,6 +17,10 @@ version = "1.0"
features = ["spin_no_std"]
[package.metadata.bootimage]
run-args = [
"-serial",
"stdio"
]
test-args = [
"-device",
"isa-debug-exit,iobase=0xf4,iosize=0x04",