Implement domain and endpoint modules with capability management, message passing, and scheduling features
This commit is contained in:
10
crates/domain/src/fault.rs
Normal file
10
crates/domain/src/fault.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use types::{address::VirtualAddress, bounded::CapSlot, permission::Permission};
|
||||
|
||||
pub enum Fault {
|
||||
CapabilityViolation { slot: CapSlot, needed: Permission },
|
||||
InvalidCapability { slot: CapSlot },
|
||||
RevokedCapability { slot: CapSlot },
|
||||
InvalidSyscall,
|
||||
MemoryFault { address: VirtualAddress },
|
||||
IllegalInstruction,
|
||||
}
|
||||
Reference in New Issue
Block a user