Fixes bootloader version

Adds a note about using a custom physical memory offset and its caveats
This commit is contained in:
seewishnew
2022-11-24 20:42:22 -08:00
committed by GitHub
parent a108367d71
commit b63ce2dc3c
8 changed files with 9 additions and 8 deletions

View File

@@ -313,7 +313,7 @@ pub extern "C" fn _start() -> ! {
# in Cargo.toml
[dependencies]
bootloader = "0.9.3"
bootloader = "0.9.23"
```
只添加引导程序为依赖项,并不足以创建一个可引导的磁盘映像;我们还需要内核编译完成之后,将内核和引导程序组合在一起。然而,截至目前,原生的 cargo 并不支持在编译完成后添加其它步骤(详见[这个 issue](https://github.com/rust-lang/cargo/issues/545))。