modus
Menu
On this page

Reference

Tables that the tool generates from the code and the files that define each thing. The guides explain why; these tables say what exists in this build.

Each table is read again at each build of the site, from the source of the thing: no row is typed for the site, so a table cannot say what the code no longer does. Each row links to its line in the source, at the commit of the build, and its text is the comment of that line. A name in a table links to its own row or card: a type to its card, a grant to its row, a module to its page.

TableWhat it holdsGenerated from
GlossaryEach term of the project: its definition, what it is for, and how it works. A term on another page links here.docs/glossary/README.md
Commands of modustoolEach command of the tool of the project, with what it does.tools/modustool/main.odin
Measured numbersEach number that the machine tests print, with its log and its conditions.docs/measures/measures.txt
Credits and licencesReused code, reimplemented algorithms, design inspirations, licences and upstream funding links.docs/CREDITS.md
Kernel operationsEach operation that a process asks the kernel, with its number, its parameters and its result; the status of a completion.src/library/modus/contract/operation/operation.odin
The context of a processThe place of each handle and each value in the context that a process receives.src/library/modus/contract/operation/operation.odin
Error kinds and unitsEach kind and each unit of the error record, with the meaning of its values.src/library/modus/contract/errors/errors.odin
Grants of the root serviceWhat the root service gives each process at its start, and what it records and can revoke.src/modules/system/root/start_grant_sets.odin
Fixed rangesEach range of addresses that the system gives a process, with its address.src/library/modus/contract/fixed_addresses/fixed_addresses.odin
Commands of the consoleEach built-in command of the console, as help() prints it.src/modules/system/console/commands.odin
TypesEach type of the contract and of the modules, with its size, its alignment and its layout.tools/modustool/site/site_types.odin
ModulesEach module, with a page for each: its documentation, its exports, its imports, and for a module with an entry its grants and its budget.tools/modustool/foundation/module_table.odin
The module graphEach module as a node, each import as an edge, in layers by depth; the identity card of each module.tools/modustool/foundation/module_table.odin

The kinds of values

A value is in the monospace font and in the color of its kind. The icon of a kind is in the head of a column of that kind, before the label of a fact, or before a value whose kind its column does not say.

IconKindWhat it holds
NumberA count, a place, an index or an address.
SizeA size in bytes or in pages.
TimeA duration, a date or a time.
HandleA handle of a kernel object, held by a process.
ValueA plain value of the context of a process: not a handle.
GrantWhat the root service gives a process, or records and can revoke.
StatusA status, an error kind or the state of a property.
TypeA type: of the contract, a wire form of the module contract, a record of a module, or a basic type.
OperationAn operation that a process asks the kernel.
CommandA command of the console or of modustool.
ModuleA module of the boot image or of the build.
FileA file or a folder of the repository.
GuideA document of the site, a guide or the glossary, and the heading that a reference names; a working record is a file of the repository.
TermA term of the glossary: one name for one concept.
VersionA version, a release, a commit or a hash.
YesA state that holds: in the boot image, measured.
NoA state that does not hold: not in the boot image, not built.
ProcedureA procedure that the sources of the system declare.
ConstantA constant that the sources of the system declare.
Global variableA variable that the sources of the system declare at the top of a package.