mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Add a note about the rename of FrameAllocator::allocate_frame
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user