in
<a href="https://github.com/tier4/awkernel/blob/main/kernel/src/arch/x86_64/kernel_main.rs">kernel/src/arch/x86_64/kernel_main.rs</a> as follows.
These functions initialize virtual memory regions for the primary and backup heaps
before initializing the primary and backup allocators.</p>
<pre><pre class="playground"><code class="language-rust"><span class="boring">#![allow(unused)]
</span><span class="boring">fn main() {
</span>fn init_primary_heap(
    page_table: &amp;mut OffsetPageTable&lt;'static&gt;,