phil-opp / blog_os

Writing an OS in Rust

Home Page:http://os.phil-opp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Edition 3: Published a new `lazy_heap` crate to streamline new version of heap allocation module

kennystrawnmusic opened this issue · comments

In my own kernel, I figured out how to initialize the heap using spin::Lazyand publish how I did it to crates.io to lighten the workload for everyone else. Might be worth considering as Edition 3 moves forward.

Here's how I initialize this in my kernel for those who are curious about initialization procedures.