mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +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
|
||||
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)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue