forked from FreeRTOS/FreeRTOS-Kernel
-
Notifications
You must be signed in to change notification settings - Fork 1
Adding xmos granular lock #95
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
Open
chinglee-iot
wants to merge
26
commits into
dev/granular-lock-review-bot
Choose a base branch
from
dev/xmos_granular_lock
base: dev/granular-lock-review-bot
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
14ba4c5
refactor(freertos/smp): Move critical sections inside xTaskPriorityIn…
Dazza0 ea3e9d1
feat(freertos/smp): Allow vTaskPreemptionEnable() to be nested
Dazza0 d99bdef
feat(freertos/smp): Add granular locking port macros checks
Dazza0 1ba1584
feat(granular_locks): Add granular locking functions
Dazza0 f761e9b
change(freertos/smp): Update tasks.c locking
Dazza0 2ba07ac
change(freertos/smp): Update queue.c locking
Dazza0 b3e2444
change(freertos/smp): Update event_groups.c locking
Dazza0 32d8176
change(freertos/smp): Update stream_buffer.c locking
Dazza0 a196372
change(freertos/smp): Update timers.c locking
Dazza0 0847cd0
feat(freertos/smp): Add Granular Locking V4 proposal documents
Dazza0 ea17e85
Update granular lock port
chinglee-iot 4c517bc
Update RP2040 to support granular lock
chinglee-iot f836da4
refactor(freertos/smp): Move critical sections inside xTaskPriorityIn…
Dazza0 94c320c
feat(freertos/smp): Allow vTaskPreemptionEnable() to be nested
Dazza0 308d050
feat(freertos/smp): Add granular locking port macros checks
Dazza0 322512c
feat(granular_locks): Add granular locking functions
Dazza0 21f42e6
change(freertos/smp): Update tasks.c locking
Dazza0 e67f166
change(freertos/smp): Update queue.c locking
Dazza0 a03ce9c
change(freertos/smp): Update event_groups.c locking
Dazza0 ca6db79
change(freertos/smp): Update stream_buffer.c locking
Dazza0 b8611c9
change(freertos/smp): Update timers.c locking
Dazza0 fb77de7
feat(freertos/smp): Add Granular Locking V4 proposal documents
Dazza0 5b0528a
Merge branch 'feature/smp_granular_locks_v4' into rp2040_pico_support…
chinglee-iot 30a82b9
Add lightweight critical section and XMOS port
chinglee-iot 3c1375c
Update lightweight critical section implementation
chinglee-iot 674813e
Update XMOS AI granular lock implementation
chinglee-iot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Early Return Pattern Concern - This macro violates the FreeRTOS coding standard discouraging early returns.
The current implementation:
Creates this usage pattern:
Issue: This creates multiple exit points in functions, contradicting FreeRTOS coding standards that prefer single exit points for maintainability.
Recommendation: Consider restructuring the implementation to maintain single exit points:
This pattern should be applied consistently across all similar macros to maintain FreeRTOS coding standards.