kernel

Module process

Source
Expand description

Types for Tock-compatible processes.

Re-exports§

Structs§

  • The version of a binary.
  • Struct that defines a upcall that can be passed to a process. The upcall takes four arguments that are Driver and upcall specific, so they are represented generically here.
  • Collection of process state information related to the memory addresses of different elements of the process.
  • A process stored in flash.
  • Opaque identifier for custom grants allocated dynamically from a process’s grant region.
  • Userspace process identifier.
  • A context token that the caller must pass back to us. This allows us to track where we are in the print operation.
  • Collection of process state related to the size in memory of various process structures.
  • A type for userspace processes in Tock.
  • A debugging implementation for ProcessStandard that records the full debugging state.
  • This is similar to FunctionCall but for the special case of the Null Upcall for a subscribe.
  • A machine for loading processes stored sequentially in a region of flash.

Enums§

  • Error types related to processes.
  • The action the kernel should take when a process encounters a fault.
  • Enumeration to identify whether a function call for a process comes directly from the kernel or from a upcall subscribed through a Driver implementation.
  • Errors that can occur when trying to load and create processes.
  • A compressed form of an Application Identifier.
  • States a process can be in.
  • Enum used to inform scheduler why a process stopped executing (aka why do_process() returned).
  • States a process could previously have been in when stopped.
  • Tasks that can be enqueued for a process.

Traits§

Functions§