Fix link and link to both “page tables” and “remap the kernel”

This commit is contained in:
Philipp Oppermann
2016-08-05 11:21:46 +02:00
parent 86efbda8d8
commit 72199bb7d7

View File

@@ -458,9 +458,10 @@ That's it. Now our `memory::init` function can only be called once. The macro wo
[AtomicBool]: https://doc.rust-lang.org/nightly/core/sync/atomic/struct.AtomicBool.html [AtomicBool]: https://doc.rust-lang.org/nightly/core/sync/atomic/struct.AtomicBool.html
### Mapping the Heap ### Mapping the Heap
Now we're ready to map the heap pages. In order to do it, we need access to the `ActivePageTable` or `Mapper` instance (see the [previous post]). Therefore we return it from the `paging::remap_the_kernel` function: Now we're ready to map the heap pages. In order to do it, we need access to the `ActivePageTable` or `Mapper` instance (see the [page table] and [kernel remapping] posts). Therefore we return it from the `paging::remap_the_kernel` function:
[previous post]: {{ page.previous.url }} [page table]: {{% relref "2015-12-09-page-tables.md" %}}
[kernel remapping]: {{% relref "2016-01-01-remap-the-kernel.md" %}}
```rust ```rust
// in src/memory/paging/mod.rs // in src/memory/paging/mod.rs