mirror of
https://github.com/asterinas/asterinas.git
synced 2025-07-10 07:23:24 +00:00
Rename various concepts related to memory management
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
03a39c94ca
commit
14e1b1a9fc
docs/src/framework
framework/aster-frame/src
arch
x86
boot
bus
collections
error.rsio_mem.rslib.rsmm
prelude.rstask
user.rskernel
aster-nix
src
comps
block
console
src
framebuffer
src
network
virtio
libs
aster-util
src
@ -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