// $Id$
-/* tab:4
+/*
* IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. By
* downloading, copying, installing or using the software you agree to
* this license. If you do not agree to this license, do not download,
{
__nesc_atomic_t result = SREG;
__nesc_disable_interrupt();
+ asm volatile("" : : : "memory"); /* ensure atomic section effect visibility */
return result;
}
inline void
__nesc_atomic_end(__nesc_atomic_t original_SREG) @spontaneous()
{
+ asm volatile("" : : : "memory"); /* ensure atomic section effect visibility */
SREG = original_SREG;
}
#endif
return (m1 < m2)? m1: m2;
}
-#endif //_H_atmega128hardware_H
\ No newline at end of file
+#endif //_H_atmega128hardware_H
+
+