mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 17:03:23 +00:00
Refactor boot modules to make heap allocation explicit
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
51349a3da1
commit
397ce9652f
@ -31,6 +31,7 @@ struct PerApInfo {
|
||||
// no longer be used, and the `Segment` can be deallocated (this problem also
|
||||
// exists in the boot processor, but the memory it occupies should be returned
|
||||
// to the frame allocator).
|
||||
#[allow(dead_code)]
|
||||
boot_stack_pages: Segment<KernelMeta>,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user