Add a note about the rename of FrameAllocator::allocate_frame

This commit is contained in:
Philipp Oppermann
2019-01-29 08:52:17 +01:00
parent 8b279bf34b
commit b9ff59fd75

View File

@@ -453,6 +453,8 @@ impl FrameAllocator<Size4KiB> for EmptyFrameAllocator {
} }
``` ```
(If you're getting a 'method `allocate_frame` is not a member of trait `FrameAllocator`' error, you need to update `x86_64` to version 0.4.0.)
We can now test the new mapping function in our `main.rs`: We can now test the new mapping function in our `main.rs`:
```rust ```rust