Creating an x86_64 kernel in Rust: Part 4

The frame allocator from Part 3 hands out physical frames, but the kernel can&#x27;t touch one until something maps it to a virtual address. That mapping is the last piece missing before alloc works, so by the end of this part Vec , Box and String all do something useful. Writing an OS in Rust covers this ground too, in Paging Implementation and Heap Allocation , and it&#x27;s the thing to read if…