The entry generic_source
The writer of the machine test of the generic record inputs . The test module generic_wiring starts it with no list, then wires its record outputs:
leftandright, of the record Probe, the two sources ofmerge;other, of the record Other, the source of another record, which a second source ofmergecannot be.
It waits, by a state, until left and right each have a reader, then writes PROBES_OF_A_SIDE probes into each, one in turn, ends both, and stops itself with Done. The mark of a probe is its number modulo 2, so filter with the condition mark = 1 keeps half of them.
Start: by generic_wiring only. What a reader sees: no window; one line when it wrote, or "generic_source: WRONG: ...".
generic_source module with an entry
- Hash
770ede67188e9b76314198e35174de15966a5a4502c5669ca8fe548d99174d4c- Size
53248 bytes- Exports
0- Imports
0- Imported by
0- License
- MIT
The writer of the machine test of the generic record inputs
| Fact | Value |
|---|---|
| Kind | Modules with an entry |
| Source | src/modules/tests/generic_source |
| Boot image | yes: in the boot image, 53248 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/generic_source/main.odin:48
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 | |
| 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).
