diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | ev.c | 9 |
2 files changed, 10 insertions, 0 deletions
@@ -14,6 +14,7 @@ TODO: embed watchers need updating when fd changes TODO: document portbaility requirements for atomic pointer access - mark event pipe fd as cloexec after a fork (analyzed by Sami Farin). + - (ecb) support m68k, m88k and sh (patch by Miod Vallat). 4.15 Fri Mar 1 12:04:50 CET 2013 - destroying a non-default loop would stop the global waitpid @@ -639,6 +639,12 @@ struct signalfd_siginfo #define ECB_MEMORY_FENCE_RELEASE __asm__ __volatile__ ("") #elif defined __ia64__ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("mf" : : : "memory") + #elif defined __m68k__ + #define ECB_MEMORY_FENCE __asm__ __volatile__ ("" : : : "memory") + #elif defined __m88k__ + #define ECB_MEMORY_FENCE __asm__ __volatile__ ("tb1 0,%%r0,128" : : : "memory") + #elif defined __sh__ + #define ECB_MEMORY_FENCE __asm__ __volatile__ ("" : : : "memory") #endif #endif #endif @@ -1055,6 +1061,9 @@ ecb_inline ecb_bool ecb_little_endian (void) { return ecb_byteorder_helper () == || defined __alpha__ \ || defined __hppa__ \ || defined __ia64__ \ + || defined __m68k__ \ + || defined __m88k__ \ + || defined __sh__ \ || defined _M_IX86 || defined _M_AMD64 || defined _M_IA64 #define ECB_STDFP 1 #include <string.h> /* for memcpy */ |