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

core: riscv: Fix store 32-bit thread_core_local flags #6806

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gagachang
Copy link
Contributor

The thread_core_local flags is a 32-bit variable.
Thus, we must explicitly use "lw" and "sw" instructions, which mean load and store 32-bit value from specific memory address, to operate the thread_core_local flags.

The thread_core_local flags is a 32-bit variable. Thus, we must
explicitly use "lw" and "sw" instructions, which mean load and store
32-bit value from specific memory address, to operate the
thread_core_local flags.

Signed-off-by: Alvin Chang <alvinga@andestech.com>
Reviewed-by: Yu Chien Peter Lin <peterlin@andestech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant