Skip to content

Commit

Permalink
libsel4test: Add smc cap to test env
Browse files Browse the repository at this point in the history
This allows tests to have the initial smc cap when that
support is enabled.

Signed-off-by: Robbie VanVossen <robert.vanvossen@dornerworks.com>
  • Loading branch information
Furao committed Dec 8, 2022
1 parent 19cd448 commit 872983f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libsel4test/include/sel4test/test.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ struct env {
seL4_CPtr asid_pool;
seL4_CPtr asid_ctrl;
seL4_CPtr sched_ctrl;
#ifdef CONFIG_ALLOW_SMC_CALLS
seL4_CPtr smc;
#endif /* CONFIG_ALLOW_SMC_CALLS */
#ifdef CONFIG_IOMMU
seL4_CPtr io_space;
#endif /* CONFIG_IOMMU */
Expand Down

0 comments on commit 872983f

Please sign in to comment.