Skip to content

Commit

Permalink
Added additional default values.
Browse files Browse the repository at this point in the history
  • Loading branch information
billphipps committed Aug 21, 2024
1 parent 6421345 commit 02f3012
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wolfhsm/wh_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,9 @@
#ifndef XMEMFENCE
#if defined(__GCC__) || defined(__clang__)
#define XMEMFENCE() __atomic_thread_fence(__ATOMIC_SEQ_CST)
/* PPC32: __asm__ volatile ("sync" : : : "memory")
#else
#define XMEMFENCE() do {} while 0
#define XMEMFENCE() do { } while (0)
#warning "wolfHSM memory transports should have a functional XMEMFENCE"
#endif
#endif
Expand Down

0 comments on commit 02f3012

Please sign in to comment.