Skip to content

python-capdl-tool: support external regions#89

Open
nspin wants to merge 1 commit intoseL4:masterfrom
nspin:pr/python-external-regions
Open

python-capdl-tool: support external regions#89
nspin wants to merge 1 commit intoseL4:masterfrom
nspin:pr/python-external-regions

Conversation

@nspin
Copy link
Copy Markdown
Member

@nspin nspin commented Mar 24, 2026

Adds support for mapping caps into an address space at arbitrary addresses, outside of the bounds of the ELF file.

This adds another level of flexibility to users of this library. rust-sel4 uses this feature (currently in a branch) for a custom CapDL-based testing framework.

Comment on lines +322 to +323
It should be possible for the frames to be mapped into the address space
at the given in a sensible way. Therefore alignment vaddr should be
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
It should be possible for the frames to be mapped into the address space
at the given in a sensible way. Therefore alignment vaddr should be
It should be possible for the frames to be mapped into the address space
at the given vaddr in a sensible way. Therefore alignment of vaddr should be

Copy link
Copy Markdown
Member

@lsf37 lsf37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from my side.

Adds support for mapping caps into an address space at arbitrary
addresses, outside of the bounds of the ELF file.

Signed-off-by: Nick Spinale <nick@nickspinale.com>
@nspin nspin force-pushed the pr/python-external-regions branch from 4fbe91c to dc631bd Compare March 25, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants