mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 18:03:25 +00:00
Refactor kernel virtual memory allocation for kernel stack and I/O memory
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
29eb37c07c
commit
998869d57e
@ -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 {
|
||||
|
Reference in New Issue
Block a user