optimized tcap_higher_prio to return immediately if both tcaps are same, return 1 to preempt the current.
SCHEDLIB:
bugfix in ps library usage - use ps_list_is_head to check if there are no items in the list.
MICROBOOTER:
fixed asnd/rcv unit test case, parent must be higher and child must be lower for the test we have in there. It worked because of preemption stack feature mainly. I'm sorry I missed the error in the test output somehow!
Intent for your PR
Choose one (Mandatory):
[ ] This PR is for a code-review and is intended to get feedback, but not to be pulled yet.
[x] This PR is mature, and ready to be integrated into the repo.
Reviewers (Mandatory):
@gparmer
Code Quality
As part of this pull request, I've considered the following:
Summary of this Pull Request (PR)
Fixes & changes: KERNEL:
tcap_higher_prio
to return immediately if both tcaps are same, return 1 to preempt the current.SCHEDLIB:
MICROBOOTER:
Intent for your PR
Choose one (Mandatory):
Reviewers (Mandatory):
@gparmer
Code Quality
As part of this pull request, I've considered the following:
Style:
Code Craftsmanship:
Testing
I've tested the code using the following test programs (provide list here):