This repository was archived by the owner on Jun 19, 2026. It is now read-only.
runtime/libia2: Set initial compartment from ia2_start#589
Open
ayrtonm wants to merge 4 commits into
Open
Conversation
Contributor
|
Should this remove the XXX comment about assuming compartment 1? |
ayrtonm
force-pushed
the
am/redo_init
branch
6 times, most recently
from
June 11, 2025 20:40
627871d to
2bba6f8
Compare
ayrtonm
force-pushed
the
am/redo_init
branch
13 times, most recently
from
July 15, 2025 03:28
50cc9a9 to
8f13b8b
Compare
ayrtonm
force-pushed
the
am/main_compartment_dso
branch
from
July 25, 2025 19:08
6211b15 to
d7d6d0d
Compare
ayrtonm
force-pushed
the
am/main_compartment_dso
branch
from
July 25, 2025 19:35
d7d6d0d to
cd20774
Compare
ayrtonm
force-pushed
the
am/main_compartment_dso
branch
5 times, most recently
from
August 11, 2025 16:42
0c7d4c6 to
5c77f8b
Compare
ayrtonm
force-pushed
the
am/main_compartment_dso
branch
from
August 11, 2025 16:52
5c77f8b to
219f70e
Compare
This was referenced Aug 11, 2025
This uses the return value to set the initial compartment's PKRU or x18 using the config entry for "main". __wrap_main then uses that register as an argument to the initial wrpkru and to get the stack pointer using ia2_stackptr_for_tag.
ayrtonm
force-pushed
the
am/main_compartment_dso
branch
from
August 12, 2025 03:40
7467b4a to
ee28f3a
Compare
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This uses the return value to set the initial compartment's PKRU or x18 using the config entry for "main". Marked as WIP since this also requires using this return value to set the correct stack pointer. This is required for #543 but depends on build system changes to test the new functionality.