Rename aster-frame to ostd

This commit is contained in:
Jianfeng Jiang
2024-06-19 08:18:39 +00:00
committed by Tate, Hongliang Tian
parent fb59fa7a55
commit 59350a8578
300 changed files with 425 additions and 427 deletions

View File

@ -13,14 +13,14 @@ use core::{
ops::{Index, IndexMut},
};
use aster_frame::{
use component::{init_component, ComponentInitError};
use font8x8::UnicodeFonts;
use ostd::{
boot,
io_mem::IoMem,
mm::{VmIo, PAGE_SIZE},
sync::SpinLock,
};
use component::{init_component, ComponentInitError};
use font8x8::UnicodeFonts;
use spin::Once;
#[init_component]
@ -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::mm::FRAMEBUFFER_REGIONS.get().unwrap().iter() {
for i in ostd::mm::FRAMEBUFFER_REGIONS.get().unwrap().iter() {
size = i.len();
}