]> xenbits.xensource.com Git - unikraft/libs/libcxx.git/commit
Fix crash due to atomics on bare-metal arm64 RELEASE-0.5
authorFelipe Huici <felipe.huici@neclab.eu>
Tue, 28 Jan 2020 12:55:45 +0000 (13:55 +0100)
committerSimon Kuenzer <simon.kuenzer@neclab.eu>
Wed, 18 Mar 2020 14:42:18 +0000 (15:42 +0100)
commited1b8b45b7afea35dc59e7c25104be07056987c1
tree8418ca47e19d00718258346d2e7cd7c51dc11c81
parentcb56a2f0c81f41e5c89294231a2da0b1769f65fa
Fix crash due to atomics on bare-metal arm64

At the moment atomic operations are working on ARM64 for KVM; however,
they are not working on baremetal on ARM64 (i.e., on the Raspberry Pi
3B+).  This can be most likely be solved by enabling the caches and
setting up a compatible memory configuration.  In the meantime, these
patches allow us to have functionally-equivalent non-atomic
implementations of the gcc builtins working on baremetal on ARM64.
Once the issue is fixed this workaround can be removed.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
patches/0004-Fix-arm-atomics-memory.patch [new file with mode: 0644]
patches/0005-Fix-arm-atomics-header.patch [new file with mode: 0644]