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

ATOMIC_* macros not working on QEMU #69

Open
Ivan-Velickovic opened this issue Jun 13, 2024 · 0 comments
Open

ATOMIC_* macros not working on QEMU #69

Ivan-Velickovic opened this issue Jun 13, 2024 · 0 comments

Comments

@Ivan-Velickovic
Copy link
Collaborator

Right now we have this piece of code:

// Qemu faults if you try load or store with a strict memorder on aarch64.
#ifdef BOARD_qemu_arm_virt
#define VMM_NO_ATOMICS
#endif

that forces QEMU to use certain atomics as QEMU faults if you try to use compiler atomic builtins with certain memory orderings.

This does not make sense to me and should be looked into more, if it is an issue with QEMU then we should link to a bug report in the code.

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

No branches or pull requests

1 participant