mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-26 10:53:25 +00:00
Refactor boot modules to make heap allocation explicit
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
51349a3da1
commit
397ce9652f
@ -7,7 +7,7 @@ mod tests {
|
||||
|
||||
#[ktest]
|
||||
fn it_works() {
|
||||
let memory_regions = ostd::boot::memory_regions();
|
||||
let memory_regions = &ostd::boot::boot_info().memory_regions;
|
||||
assert!(!memory_regions.is_empty());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user