MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / MessageData

Enum MessageData

kernel/src/message.rs:15–19  ·  view source on GitHub ↗

Messages can transmit values, communication handles, or memory chunks. In the kernel these are represented as u64 values, Rendezvous objects, and physical memory addresses.

Source from the content-addressed store, hash-verified

13/// as u64 values, Rendezvous objects, and physical memory
14/// addresses.
15pub enum MessageData {
16 Value(u64),
17 Rendezvous(Arc<RwLock<Rendezvous>>),
18 Memory(PhysAddr)
19}
20
21impl From<u64> for MessageData {
22 fn from (value: u64) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected