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

Export MPU Section Attributes #931

Merged
merged 5 commits into from
Dec 26, 2023
Merged

Conversation

Skptak
Copy link
Member

@Skptak Skptak commented Dec 20, 2023

Description

Export the PRIVILEGED_FUNCTION, PRIVILEGED_DATA, and FREERTOS_SYSTEM_CALL attributes to make it easier for end users to add their own privileged functions and system calls.

Test Steps

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…as these are the files that would define portUSING_MPU_WRAPPERS. Always export the PRIVILEGED attributes, so MPU users can easily assign their functions to also be placed with the FreeRTOS Kernel calls
@Skptak Skptak requested a review from a team as a code owner December 20, 2023 18:23
@Skptak Skptak changed the title Export Section Attributes Export MPU Section Attributes Dec 20, 2023
@Skptak Skptak self-assigned this Dec 20, 2023
@Skptak Skptak added the enhancement New feature or request label Dec 20, 2023
Copy link

codecov bot commented Dec 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (93380c0) 93.78% compared to head (3028ba1) 93.78%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #931   +/-   ##
=======================================
  Coverage   93.78%   93.78%           
=======================================
  Files           6        6           
  Lines        3186     3186           
  Branches      885      885           
=======================================
  Hits         2988     2988           
  Misses         91       91           
  Partials      107      107           
Flag Coverage Δ
unittests 93.78% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@aggarg aggarg merged commit 58f0d36 into FreeRTOS:main Dec 26, 2023
16 checks passed
@Skptak Skptak deleted the mpuWrapperChanges branch February 27, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants