mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
xous: add context id and context error
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
dafec2bb89
commit
d8d0c3838a
1 changed files with 5 additions and 1 deletions
|
|
@ -15,6 +15,9 @@ pub type SID = (usize, usize, usize, usize);
|
||||||
/// Connection ID
|
/// Connection ID
|
||||||
pub type CID = usize;
|
pub type CID = usize;
|
||||||
|
|
||||||
|
/// Context ID
|
||||||
|
pub type CtxID = usize;
|
||||||
|
|
||||||
/// Equivalent to a RISC-V Hart ID
|
/// Equivalent to a RISC-V Hart ID
|
||||||
pub type CpuID = usize;
|
pub type CpuID = usize;
|
||||||
|
|
||||||
|
|
@ -37,7 +40,8 @@ pub enum Error {
|
||||||
Timeout = 13,
|
Timeout = 13,
|
||||||
InternalError = 14,
|
InternalError = 14,
|
||||||
ServerQueueFull = 15,
|
ServerQueueFull = 15,
|
||||||
UnhandledSyscall = 16,
|
ContextNotAvailable = 16,
|
||||||
|
UnhandledSyscall = 17,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue