aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/include/lock.h
AgeCommit message (Collapse)Author
2022-01-07Allow building with clangKimplul
+ Release mode is sort of broken, as lto doesn't work with linker relaxation and turning the relaxation off causes issues with the jump from init to kernel (as I've currently implemented it, could probably be fixed with a manual jump from assembly, I'll add it to my TODO list)
2021-12-08Added some C11 atomic operationsKimplul
Mainly to be used in spinlocks etc.