xous: add context id and context error

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2020-03-27 13:32:41 +08:00
parent dafec2bb89
commit d8d0c3838a

View file

@ -15,6 +15,9 @@ pub type SID = (usize, usize, usize, usize);
/// Connection ID
pub type CID = usize;
/// Context ID
pub type CtxID = usize;
/// Equivalent to a RISC-V Hart ID
pub type CpuID = usize;
@ -37,7 +40,8 @@ pub enum Error {
Timeout = 13,
InternalError = 14,
ServerQueueFull = 15,
UnhandledSyscall = 16,
ContextNotAvailable = 16,
UnhandledSyscall = 17,
}
#[repr(C)]