Introduce kernel virtual memory allocation for kernel stack

This commit is contained in:
Ni Shirong
2024-09-24 06:09:15 +00:00
committed by Tate, Hongliang Tian
parent 03906513aa
commit 29eb37c07c
8 changed files with 270 additions and 53 deletions

View File

@ -21,6 +21,8 @@ pub enum Error {
Overflow,
/// Memory mapping already exists for the given virtual address.
MapAlreadyMappedVaddr,
/// Error when allocating kernel virtual memory.
KvaAllocError,
}
impl From<PageTableError> for Error {