The entry settings_stand_in
A holder of the role Settings that is not the module of the boot image . The machine test of the plan of principal 0 names it in a plan as the holder of Settings; at the next start of the machine the row "settings" of the start list reaches it in place of settings.
It declares the exports of the contract of the role Settings, so the root service accepts it as a holder, and gives the defaults of the settings. It serves none of them: the test needs only the proof that the start policy started it, so it writes its line and stops with Done, as the boot pass of settings does.
Start: by the start policy, as the holder of Settings that a plan of principal 0 gives. What a reader sees: no window; one line "settings_stand_in: the start policy started the holder of the role Settings for the pass 1" (Boot).
See: Declarations: The plan of principal 0 at the start in the repository
settings_stand_in module with an entry
- Hash
797ef3e52f5c9650e21d3c4f454a7576e353c6e9a803bdff6ebcfb3bd8dba44a- Size
36864 bytes- Exports
4- Imports
0- Imported by
0- License
- MIT
A holder of the role Settings that is not the module of the boot image
| Fact | Value |
|---|---|
| Kind | Modules with an entry |
| Source | src/modules/tests/settings_stand_in |
| Boot image | no: not in the boot image |
| 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 |
|---|---|
set_time_zone(zone: Text) -> Integer | refuses each zone: this holder keeps no setting |
font() -> Font | gives the font of the defaults |
appearance() -> Appearance | gives the appearance of the defaults |
scale() -> Scale | gives the scale of the defaults |
entry() |
set_time_zone
set_time_zone(zone: ) ->
set_time_zone refuses each zone: this holder keeps no setting.
The result is a negative number with the error record Unsupported.
zone:
- When it fails
- a negative result, and the error record
src/modules/tests/settings_stand_in/main.odin:28
font
font() -> Font
font gives the font of the defaults.
appearance
appearance() -> Appearance
appearance gives the appearance of the defaults.
- none
Appearancesrc/modules/tests/settings_stand_in/main.odin:40
scale
scale() -> Scale
scale gives the scale of the defaults.
entry
entry()
- Form
- The entry of the module: one parameter, an address, fixed by the contract.
src/modules/tests/settings_stand_in/main.odin:51
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 | The holder of Settings that the plan of that test names: it writes its line and stops, and needs no grant. |
| 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).
Text wire form
A wire form of the module contract: one word of a call. The address of a slice record {address, count} of UTF-8 bytes.
Integer wire form
A wire form of the module contract: one word of a call. A signed integer of 64 bits, in a register.
Error_Record record of a module
A record of the module settings_stand_in: 56 bytes, aligned on 8 bytes, 0 bytes of padding.
kindi6408 bytesuniti6488 bytesoperationi64168 bytesargumenti64248 bytesvaluei64328 byteslimiti64408 bytesfoundi64488 bytes
