Make `setvar region_paddr` works on x86-64

Open
#529 0 comments 0 reactions 1 assignee View on GitHub

@dreamliner787-9 is already working on this.

Since Jun 19, 2026.

Assessment

This issue has not been assessed yet.

Description

Currently it does not work as the physical addresses of memory regions without a phys_addr attribute are determined at runtime in the capDL initialiser by the objects allocation algorithm.

To make this work we would need to make 2 changes to the initialiser:

  1. Add a way to express "patch physical address of object A to virtual address B in VSpace C" in the capDL Spec.
  2. Add a way to tell the allocation algorithm to allocate certain ranges of objects contiguously in physical memory. This is important because it would be reasonable for the user to expect their memory regions to be contiguous if they care about physical addresses.
Dominant language
Rust
Stars
201
Forks
80
Avg merge
1d 4h
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from seL4/microkit

All issues in seL4/microkit

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.