mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-01-30 23:02:18 +00:00
a94b3d14aa
Changes included (and more): 1. Dynamic RAM merge 2. Real-time page scan and allocation 3. Cache compression 4. Real-time IRQ checks 5. Dynamic I/O allocation for Java heap 6. Java page migration 7. Contiguous memory allocation 8. Idle pages tracking 9. Per CPU RAM usage tracking 10. ARM NEON scalar multiplication library 11. NEON/ARMv8 crypto extensions 12. NEON SHA, Blake, RIPEMD crypto extensions 13. Parallel NEON crypto engine for multi-algo based CPU stress reduction
17 lines
275 B
Plaintext
17 lines
275 B
Plaintext
cat <<EOF
|
|
static __always_inline ${ret}
|
|
arch_${atomic}_read_acquire(const ${atomic}_t *v)
|
|
{
|
|
${int} ret;
|
|
|
|
if (__native_word(${atomic}_t)) {
|
|
ret = smp_load_acquire(&(v)->counter);
|
|
} else {
|
|
ret = arch_${atomic}_read(v);
|
|
__atomic_acquire_fence();
|
|
}
|
|
|
|
return ret;
|
|
}
|
|
EOF
|