feat(domain): add EndpointTable, IrqRoutingTable, and remaining error variants

This commit is contained in:
2026-10-17 23:51:56 +02:00
parent ed80fc43a6
commit 328708ed58
5 changed files with 170 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
use types::{
bounded::CapSlot,
id::{ProcessId, ThreadId},
id::{EndpointId, IrqId, ProcessId, ThreadId},
permission::Permission,
};
@@ -18,4 +18,9 @@ pub enum KernelError {
InvalidThread(ThreadId),
TooManyThreads,
OutOfMemory,
InvalidEndpoint(EndpointId),
InvalidIrq(IrqId),
EndpointFull,
ProcessCreateDenied,
IrqAlreadyOwned(IrqId),
}