mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-18 03:56:42 +00:00
Rename various concepts related to memory management
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
03a39c94ca
commit
14e1b1a9fc
@ -16,8 +16,8 @@ use core::{
|
||||
use aster_frame::{
|
||||
boot,
|
||||
io_mem::IoMem,
|
||||
mm::{VmIo, PAGE_SIZE},
|
||||
sync::SpinLock,
|
||||
vm::{VmIo, PAGE_SIZE},
|
||||
};
|
||||
use component::{init_component, ComponentInitError};
|
||||
use font8x8::UnicodeFonts;
|
||||
@ -39,7 +39,7 @@ pub(crate) fn init() {
|
||||
let mut writer = {
|
||||
let framebuffer = boot::framebuffer_arg();
|
||||
let mut size = 0;
|
||||
for i in aster_frame::vm::FRAMEBUFFER_REGIONS.get().unwrap().iter() {
|
||||
for i in aster_frame::mm::FRAMEBUFFER_REGIONS.get().unwrap().iter() {
|
||||
size = i.len();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user