1 /* 2 * Copyright 2014, Paweł Dziepak, pdziepak@quarnos.org. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Alexander von Gluck IV <kallisti5@unixzen.com> 7 */ 8 #ifndef _KERNEL_ARCH_SPARC_ATOMIC_H 9 #define _KERNEL_ARCH_SPARC_ATOMIC_H 10 11 12 static inline void 13 memory_read_barrier_inline(void) 14 { 15 // TODO 16 } 17 18 19 static inline void 20 memory_write_barrier_inline(void) 21 { 22 // TODO 23 } 24 25 26 static inline void 27 memory_full_barrier_inline(void) 28 { 29 // TODO 30 } 31 32 33 #define memory_read_barrier memory_read_barrier_inline 34 #define memory_write_barrier memory_write_barrier_inline 35 #define memory_full_barrier memory_full_barrier_inline 36 37 38 #endif // _KERNEL_ARCH_PPC_ATOMIC_H 39 40