chore: sync partial changes

This commit is contained in:
Paul Pan 2024-04-07 01:04:04 +08:00
parent 9710132b3e
commit e469b99cb5
3 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,5 @@
use crate::utils::extern_addr::ExternSymbol;
use crate::utils::size::KIB;
extern "C" {
static __kernel_start: ExternSymbol;
@ -26,3 +27,5 @@ extern "C" {
pub static __tbss_start: ExternSymbol;
pub static __tbss_end: ExternSymbol;
}
pub const PAGE_SIZE: usize = 4 * KIB;

View File

@ -5,6 +5,7 @@
#![feature(asm_const)]
#![feature(const_mut_refs)]
#![feature(extern_types)]
#![feature(let_chains)]
#![feature(naked_functions)]
#![feature(panic_info_message)]
#![feature(stmt_expr_attributes)]

View File

@ -1,7 +1,7 @@
mod entry;
mod table;
pub use crate::arch::vspace::*;
pub use crate::arch::vspace::{Entry, Table};
pub use entry::*;
pub use table::*;