Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Capability::bounds().set_inexact_at_most() method #310

Merged
merged 3 commits into from
Oct 7, 2024

Conversation

nwf
Copy link
Member

@nwf nwf commented Oct 7, 2024

This copies "the TLS stack buffer trick" into the base RTOS for broader use. The implementation can be replaced with CSetBoundsRoundDown if and when that lands in the ISA.

@nwf nwf requested a review from davidchisnall October 7, 2024 16:41
@nwf nwf merged commit 3ab6978 into CHERIoT-Platform:main Oct 7, 2024
6 checks passed
@nwf nwf deleted the 202410-bounds_inexact_at_most branch October 7, 2024 21:50
nwf added a commit to nwf/cheriot-network-stack that referenced this pull request Oct 7, 2024
CHERIoT-Platform/cheriot-rtos#310 copied, fixed,
and renamed our precisely_bound_buffer() into the RTOS Capability
object, so use its spelling instead.
nwf added a commit to nwf/cheriot-network-stack that referenced this pull request Oct 10, 2024
CHERIoT-Platform/cheriot-rtos#310 copied, fixed,
and renamed our precisely_bound_buffer() into the RTOS Capability
object, so use its spelling instead.

CHERIoT-Platform/cheriot-rtos#312 changed the
API slightly, so follow along.
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