The program pages
A system tool: what the page tables give, as the kernel reads it from the tables themselves.
The top part is the kernel half of the addresses: the direct map, the kernel module, and the kernel stacks between their guard pages. The bottom part is the half of this program. Each line is a run of pages with one protection. No page is both writable and executable.
The program needs the grant to inspect the machine.
| Fact | Value |
|---|---|
| Source | programs/pages |
| Boot image | in the boot image; the image is not built, so its size is not known |
| Imports | none |
| Imported by | none |
Exports
| Export | What it does |
|---|---|
| entry() |
Read from the source of the module, as the build reads it to describe the exports (tools/kerneltool/describe.odin).
What the root service gives it
| What | Value | As the root service says |
|---|---|---|
| Grants | {.Inspect} | |
| Budget: pages, programs, threads | {pages = 2048, programs = 1, threads = 1} | Not named in things_of: the budget of each other program. |
Read from grants_of and things_of in programs/root/main.odin; budget_of in the same file adds the limits of processor time and of log records.
