From 597bf6793dd4a6e3ca207c5e69d9147af1b0884f Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 26 Jun 2019 17:45:46 +0200 Subject: [PATCH] Write introduction --- blog/content/second-edition/posts/10-heap-allocation/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/second-edition/posts/10-heap-allocation/index.md b/blog/content/second-edition/posts/10-heap-allocation/index.md index 537a3c90..05a64827 100644 --- a/blog/content/second-edition/posts/10-heap-allocation/index.md +++ b/blog/content/second-edition/posts/10-heap-allocation/index.md @@ -5,7 +5,7 @@ path = "heap-allocation" date = 0000-01-01 +++ -TODO +This post adds support for heap allocation to our kernel. First, it provides an introduction to dynamic memory and explains how Rust's borrow checker prevents common allocation errors. Then it shows how to implement the basic allocation interface and create a heap memory region. Finally, it makes the various allocation and collection types of the built-in `alloc` crate available to our kernel by using an allocator crate.