Skip to content

Commit cd0b3e5

Browse files
committed
manual: add bootinfo prefilling feature
Signed-off-by: Terry Bai <tianyi.bai@unsw.edu.au>
1 parent cfc61eb commit cd0b3e5

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docs/manual.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,17 @@ a size isn't specified, the memory region will be sized by the length
255255
of the prefill file, rounded up to the smallest page size or the user
256256
specified page size.
257257

258+
A *memory region* can also be prefilled with bootinfo by the capDL Initialiser
259+
via the paramter `prefill_bootinfo` in the [System Description File](#sysdesc).
260+
If a size isn't specified, the memory region defaults to a single smallest page.
261+
The supported bootinfo types include:
262+
* `x86_vbe`
263+
* `x86_mbmap`
264+
* `x86_acpi_rsdp`
265+
* `x86_framebuffer`
266+
* `x86_tsc_freq`
267+
* `fdt`
268+
258269
## Channels {#channels}
259270

260271
A *channel* enables two protection domains to interact using protected procedures or notifications.
@@ -1031,6 +1042,7 @@ It supports the following attributes:
10311042
* `page_size`: (optional) Size of the pages used in the memory region; must be a supported page size if provided. Defaults to the largest page size for the target architecture that the memory region is aligned to.
10321043
* `phys_addr`: (optional) The physical address for the start of the memory region (must be a multiple of the page size).
10331044
* `prefill_path`: (optional) Path to a file containing data that the memory region will be filled with at initialisation.
1045+
* `prefill_bootinfo`: (optional) Bootinfo type that the memmory region will be filled with by the capDL initialiser.
10341046

10351047
The `memory_region` element does not support any child elements.
10361048

0 commit comments

Comments
 (0)