mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-20 04:56:32 +00:00
Introduce kernel virtual memory allocation for kernel stack
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
03906513aa
commit
29eb37c07c
@ -199,6 +199,7 @@ impl From<ostd::Error> for Error {
|
||||
ostd::Error::PageFault => Error::new(Errno::EFAULT),
|
||||
ostd::Error::Overflow => Error::new(Errno::EOVERFLOW),
|
||||
ostd::Error::MapAlreadyMappedVaddr => Error::new(Errno::EINVAL),
|
||||
ostd::Error::KvaAllocError => Error::new(Errno::ENOMEM),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user