mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
cleanup comment formatting
This commit is contained in:
parent
a37b2c06e1
commit
6c4e899a5a
1 changed files with 14 additions and 13 deletions
|
|
@ -307,18 +307,18 @@ impl core::fmt::Display for MemoryType {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, PartialEq)]
|
||||||
pub enum Result {
|
pub enum Result {
|
||||||
// 0
|
/// 0
|
||||||
Ok,
|
Ok,
|
||||||
// 1
|
/// 1
|
||||||
Error(Error),
|
Error(Error),
|
||||||
|
|
||||||
// 2
|
/// 2
|
||||||
MemoryAddress(MemoryAddress),
|
MemoryAddress(MemoryAddress),
|
||||||
|
|
||||||
// 3
|
/// 3
|
||||||
MemoryRange(MemoryRange),
|
MemoryRange(MemoryRange),
|
||||||
|
|
||||||
// 4
|
/// 4
|
||||||
ReadyThreads(
|
ReadyThreads(
|
||||||
usize, /* count */
|
usize, /* count */
|
||||||
usize,
|
usize,
|
||||||
|
|
@ -329,25 +329,25 @@ pub enum Result {
|
||||||
/* pid2 */ usize, /* context2 */
|
/* pid2 */ usize, /* context2 */
|
||||||
),
|
),
|
||||||
|
|
||||||
// 5
|
/// 5
|
||||||
ResumeProcess,
|
ResumeProcess,
|
||||||
|
|
||||||
// 6
|
/// 6
|
||||||
ServerID(SID),
|
ServerID(SID),
|
||||||
|
|
||||||
// 7
|
/// 7
|
||||||
ConnectionID(CID),
|
ConnectionID(CID),
|
||||||
|
|
||||||
// 8
|
/// 8
|
||||||
NewServerID(SID, CID),
|
NewServerID(SID, CID),
|
||||||
|
|
||||||
// 9
|
/// 9
|
||||||
MessageEnvelope(MessageEnvelope),
|
MessageEnvelope(MessageEnvelope),
|
||||||
|
|
||||||
// 10
|
/// 10
|
||||||
ThreadID(TID),
|
ThreadID(TID),
|
||||||
|
|
||||||
// 11
|
/// 11
|
||||||
ProcessID(PID),
|
ProcessID(PID),
|
||||||
|
|
||||||
/// 12: The requested system call is unimplemented
|
/// 12: The requested system call is unimplemented
|
||||||
|
|
@ -381,9 +381,10 @@ pub enum Result {
|
||||||
/// 20: A scalar with five values
|
/// 20: A scalar with five values
|
||||||
Scalar5(usize, usize, usize, usize, usize),
|
Scalar5(usize, usize, usize, usize, usize),
|
||||||
|
|
||||||
// 21: A message is returned as part of `send_message()` when the result is blocking
|
/// 21: A message is returned as part of `send_message()` when the result is blocking
|
||||||
Message(Message),
|
Message(Message),
|
||||||
|
|
||||||
|
/// Reserved: do not rely on the argument numbering for this variant.
|
||||||
UnknownResult(usize, usize, usize, usize, usize, usize, usize),
|
UnknownResult(usize, usize, usize, usize, usize, usize, usize),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue