modus

The program host

The call host: a program that loads one module and executes the isolated calls of its exports (property 19, package isolated).

The caller starts one call host per module, with two grants: the call ring and the call region. The call host has no other handle, so the module can reach nothing else (property 2). A fault in the module stops this program only.

FactValue
Sourceprograms/host
Boot imagein the boot image; the image is not built, so its size is not known
Importsnone
Imported bynone

Exports

ExportWhat it does
entry()

Read from the source of the module, as the build reads it to describe the exports (tools/kerneltool/describe.odin).

What the root service gives it

WhatValueAs the root service says
Grants{}Not named in grants_of: the grants of each other program.
Budget: pages, programs, threads{pages = 2048, programs = 1, threads = 1}Not named in things_of: the budget of each other program.

Read from grants_of and things_of in programs/root/main.odin; budget_of in the same file adds the limits of processor time and of log records.