Refactor kernel virtual memory allocation for kernel stack and I/O memory

This commit is contained in:
Wang Siyuan
2024-09-24 19:02:26 +00:00
committed by Tate, Hongliang Tian
parent 29eb37c07c
commit 998869d57e
11 changed files with 495 additions and 257 deletions

View File

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