mirror of
https://github.com/panpaul/tiny_os
synced 2024-09-20 09:45:19 +08:00
chore: sync partial changes
This commit is contained in:
parent
9710132b3e
commit
e469b99cb5
@ -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;
|
||||
|
@ -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)]
|
||||
|
@ -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::*;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user