sync instructions and data also

This commit is contained in:
Makuna
2015-05-05 18:24:26 -07:00
parent 20533bb0dd
commit 6f431748b4

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;
}