Skip to main content

Module env

Module env 

Source
Expand description

The declarations resolution fixes and typing never changes, in every layer’s environment: a channel’s ends, its buffer and the buffer’s mappings, a program’s mappings, the System = composition, event and process signatures, and the platform entry points. Memory regions and protection domains are the AST’s own nodes.

Structs§

Buffer
A channel’s shared buffer, and its mapping at each end, in the environment’s mappings.
ChannelEnd
One end of a channel.
Composition
System = pd1 ||| pd2 ....
Entry
@bind(platform.entry) on a process.
EventDecl
An event’s signature, evt name(carriers); its body is an EventBody.
Mapping
A memory mapping: a region in one protection domain’s address space.
ProcessDecl
A process’s signature, proc Name(params); its body is a ProcBody.

Enums§

Endpoint
Which endpoint of a channel a protection domain holds (Microkit’s word). On a bidirectional channel both endpoints send and receive; the endpoint records which was written.