mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 06:47:49 +00:00
Update docs.rs links to point to x86_64 0.8.1
This commit is contained in:
@@ -166,7 +166,7 @@ The functionality of the `isa-debug-exit` device is very simple. When a `value`
|
||||
|
||||
Instead of manually invoking the `in` and `out` assembly instructions, we use the abstractions provided by the [`x86_64`] crate. To add a dependency on that crate, we add it to the `dependencies` section in our `Cargo.toml`:
|
||||
|
||||
[`x86_64`]: https://docs.rs/x86_64/0.7.5/x86_64/
|
||||
[`x86_64`]: https://docs.rs/x86_64/0.8.1/x86_64/
|
||||
|
||||
```toml
|
||||
# in Cargo.toml
|
||||
@@ -177,7 +177,7 @@ x86_64 = "0.8.1"
|
||||
|
||||
Now we can use the [`Port`] type provided by the crate to create an `exit_qemu` function:
|
||||
|
||||
[`Port`]: https://docs.rs/x86_64/0.7.5/x86_64/instructions/port/struct.Port.html
|
||||
[`Port`]: https://docs.rs/x86_64/0.8.1/x86_64/instructions/port/struct.Port.html
|
||||
|
||||
```rust
|
||||
// in src/main.rs
|
||||
|
||||
Reference in New Issue
Block a user