-
Notifications
You must be signed in to change notification settings - Fork 3k
Update uVisor to v0.27.0 #3817
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
Update uVisor to v0.27.0 #3817
Conversation
The core_cmSecureAccess.h file contains secure-access APIs that are a good candidate for a proposal to CMSIS. At the moment we maintain these APIs ourselves in ARMmbed/uvisor, and will push updates to ARMmbed/mbed-os when running our usual importer script.
* Updated docs * Re-factored vMPU drivers * Non-backwards-compatible API change: uvisor_ctx is now called __uvisor_ctx and requires the user to explicitly cast it to their own private context structure. This only affects applications with uVisor enabled. * Use "public box" instead of main box for box 0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/morph test-nightly |
Result: FAILUREYour command has finished executing! Here's what you wrote!
OutputExample Build failed! |
@AlessandroA uvisor examples failed to build! |
I was told that this is known and should be fixed soon (waiting for confirmation from Alessandro). |
Thanks! This is due to the aforementioned API change. We have PRs outstanding to make the examples compatible with both the old and the new API. ARMmbed/mbed-os-example-uvisor#23 |
One remaining ARMmbed/mbed-os-example-uvisor#23, and we can restart the CI. |
/morph test-nightly |
Result: FAILUREYour command has finished executing! Here's what you wrote!
OutputExample Build failed! |
/morph test-nightly |
I see that there was a patch landed on mbed-os-example-uvisor-thread: ARMmbed/mbed-os-example-uvisor-thread#37 However, mbed-os-example-number-store also failed and I don't see a patch landed against that repo:
If you can get a patch merged in approximately 10 minutes you won't have to rerun CI on this PR! |
Result: ABORTEDYour command has finished executing! Here's what you wrote!
OutputExample Build failed! |
Y'all acted fast but unfortunately not quite fast enough! I killed it to save some time, I'll restart it now. /morph test-nightly |
Result: FAILUREYour command has finished executing! Here's what you wrote!
OutputTest failed! |
🤦♂️ There was a very sporadic failure on one of the tests. The test took about 3 seconds longer than it normally does, it was about to signal a success, and then the test runner forced it to timeout. Very frustrating! Rerunning... /morph test-nightly |
/morph test-nightly |
1 similar comment
/morph test-nightly |
Result: FAILUREYour command has finished executing! Here's what you wrote!
OutputExample Build failed! |
I couldn't reproduce the failure here. /morph test-nightly |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
|
Description
This PR updates the uVisor binaries/API files to v0.27.0.
Changelog:
Status
Ready for code review and CI.
Migrations
This PR only affects people actively using uVisor on a supported platform. Users are affected only if they run with uVisor enabled.
There is a single API change involving the
uvisor_ctx
pointer:YourBoxContextType * uvisor_ctx
.void * __uvisor_ctx
pointer that the users need to cast themselves to their context type. This ensures that users are aware of the type ofuvisor_ctx
and, most of all, can use it in more than one translation unit.For a quick fix, just add this line to your existing code:
@Patater @0xc0170 @sg-