The entry iommu
The client of the test of the IOMMU. Its one grant is the disk of the measures; for this process the root service starts the test device service iommu_device on that disk in place of the block service (src/modules/tests/iommu_device).
What it shows. After the test device service gave its device an address that it did not declare, the service still runs and answers: a DMA fault stops no process. It sends the command Info on the block ring, waits for its completion with the hang bound, and writes one line.
What a reader sees. No window: the line iommu: ... on the log.
iommu module with an entry
- Hash
1413881ad3f662fd95eed0486dd4d6773c2b79f656ec0362cecd2948bc5dcddc- Size
32768 bytes- Exports
0- Imports
0- Imported by
0- License
- MIT
The client of the test of the IOMMU
| Fact | Value |
|---|---|
| Kind | Modules with an entry |
| Source | src/modules/tests/iommu |
| Boot image | yes: in the boot image, 32768 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/iommu/main.odin:20
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 | The client of the test of the IOMMU: its device service on the disk of the measures is the test device service iommu_device. | |
| 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).
