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

The text definition of xscratchcswl is incomplete #407

Open
Timmmm opened this issue Sep 11, 2024 · 1 comment
Open

The text definition of xscratchcswl is incomplete #407

Timmmm opened this issue Sep 11, 2024 · 1 comment
Assignees
Labels
v1.0 resolve for 1.0

Comments

@Timmmm
Copy link

Timmmm commented Sep 11, 2024

Without looking at the pseudocode, the definition of xscratchcswl is

This new CSR operates similarly to xscratchcsw except that the swap condition is true when the interrupter and interruptee are not both application tasks or not both interrupt handlers.

However the spec never defines what an application task is. From looking at the pseudocode we can see it is one where the interrupt level is 0, but the text should say that. Something like:

This new CSR operates similarly to xscratchcsw except that the swap condition is true when interrupt level for the interrupter and interruptee are not both zero and not both non-zero.

@jb-brelot-nxp
Copy link
Collaborator

Hi @Timmmm

Your change sounds reasonnable. We will disccuss this point on our next Fast Interrupt Task Group, monday the 16th of Sept, 6pm CET.

It would be nice to have you in the meeting.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1.0 resolve for 1.0
Projects
None yet
Development

No branches or pull requests

3 participants