Clean up the frame buffer state in ostd::mm

This commit is contained in:
Zhang Junyang
2024-09-20 14:45:31 +08:00
committed by Tate, Hongliang Tian
parent 8b2ca77804
commit 9a79ecbcbe
4 changed files with 12 additions and 28 deletions

View File

@ -86,7 +86,7 @@ pub unsafe fn init() {
mm::page::allocator::init();
mm::kspace::init_kernel_page_table(mm::init_page_meta());
mm::misc_init();
mm::dma::init();
// SAFETY: This function is called only once in the entire system.
unsafe { trap::softirq::init() };