Specify bootloader version as v0.9 (without patch version) in all posts

Cargo automatically chooses the latest patch version, but beginners might not know that. So this hopefully avoids some confusion.
This commit is contained in:
Philipp Oppermann
2024-02-16 13:24:48 +01:00
parent 3556211904
commit 1f6402f746
9 changed files with 9 additions and 9 deletions

View File

@@ -288,7 +288,7 @@ frame.map(|frame| frame.start_address() + u64::from(addr.page_offset()))
```toml
[dependencies]
bootloader = { version = "0.9.23", features = ["map_physical_memory"]}
bootloader = { version = "0.9", features = ["map_physical_memory"]}
```
启用这个功能后bootloader 将整个物理内存映射到一些未使用的虚拟地址范围。为了将虚拟地址范围传达给我们的内核bootloader 传递了一个 _启动信息_ 结构。