The entry output_side
A side of a wiring that writes its own words in its wiring ring, past the library. The test module output_wiring starts it with a wiring list whose row wires its record output to the asker, then wires it once more with Wire. It answers:
- 1. the end of its start with a refusal: the root service ends that wiring with the end word Refused;
- 2. once it holds the end of the Wire, a word Closed for a number that names no wiring of it: the root service drops it, with one line;
- 3. the end of the Wire with Taken, then Taken again, one probe and Closed: the root service drops the second Taken, with one line.
The words 2 and 3 are in one ring, in that order, and the root service reads them in order: the end word Side_Closed that the asker reads comes from the Closed of 3, so the root service read each word before.
Then it reads no command: its wiring ring fills, and the root service refuses the next end for it with Busy. Its asker stops it.
Start: by output_wiring only. What a reader sees: no window; one line "output_side: ...: as it must", or a line "output_side: WRONG: ...". Its asker stops it.
output_side module with an entry
- Hash
8d709fed544dd1c20ca447dac29849b02e3c4907dbd93ba2263cd282f8c5cdd8- Size
36864 bytes- Exports
0- Imports
0- Imported by
0- License
- MIT
A side of a wiring that writes its own words in its wiring ring, past the library
| Fact | Value |
|---|---|
| Kind | Modules with an entry |
| Source | src/modules/tests/output_side |
| Boot image | yes: in the boot image, 36864 bytes in this build |
| Build settings | none: the defaults of the source |
| Imports | none |
| Imported by | none |
Neighbours
It imports no module, and no module imports it. The module graph shows it with the other modules that have no edge.
Exports
| Export | What it does |
|---|---|
entry() |
entry
entry()
- Form
- The entry of the module: one parameter, an address, fixed by the contract.
src/modules/tests/output_side/main.odin:115
Read from the source of the module, as the build reads it to describe the exports (tools/modustool/build/describe.odin).
What the root service gives it
| What | Value | As the root service says |
|---|---|---|
| Grants | none | A side that writes its own words in its wiring ring, past the library: it needs no grant either. |
| Other terms of its start grant set | none | |
| Budget that it asks for |
| No MODULE_BUDGET in its source: it asks for the least budget. |
The start grant set is read from start_grant_sets in src/modules/system/root/start_grant_sets.odin. The stated budget is read from the constant MODULE_BUDGET of the source of the module; the build adds the counted parts and writes the sum in the module (tools/modustool/build/budget_count.odin); the root service accepts it up to the largest budget of a process, and adds the limits of processor time and of log records (src/modules/system/root/budgets.odin).
