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