sync instructions and data also

This commit is contained in:
Makuna committed 2015-05-05 18:24:26 -07:00
1 parent 20533bb0dd
commit 6f431748b4
1 file changed
+3
+3
View File
@@ -106,6 +106,9 @@ static inline uint32_t get_ccount(void)
static inline uint32_t esp8266_enter_critical()
{
uint32_t state;
__asm__ __volatile__("dsync ; isync");
RSIL(state);
return state;
}