Add chapter information to frontmatter

This commit is contained in:
Philipp Oppermann
2020-01-28 16:03:41 +01:00
parent c1319ba34f
commit 7d27a2c4a4
11 changed files with 25 additions and 0 deletions

View File

@@ -3,6 +3,9 @@ title = "Heap Allocation"
weight = 10
path = "heap-allocation"
date = 2019-06-26
[extra]
chapter = "Memory Management"
+++
This post adds support for heap allocation to our kernel. First, it gives an introduction to dynamic memory and shows how the borrow checker prevents common allocation errors. It then implements the basic allocation interface of Rust, creates a heap memory region, and sets up an allocator crate. At the end of this post all the allocation and collection types of the built-in `alloc` crate will be available to our kernel.