modus
Menu
On this page

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.

See: The IOMMU: The proof in the repository

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

FactValue
KindModules with an entry
Sourcesrc/modules/tests/iommu
Boot imageyes: in the boot image, 32768 bytes in this build
Build settingsnone: the defaults of the source
Importsnone
Imported bynone

Neighbours

It imports no module, and no module imports it. The module graph shows it with the other modules that have no edge.

Exports

ExportWhat it does
entry()

entry

entry()
Form
The entry of the module: one parameter, an address, fixed by the contract.
Source
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

WhatValueAs the root service says
GrantsThe 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 setnone
Budget that it asks for
  • the least budget
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).