mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
change(esp_hw_support): disable CPU wait-for-event mode on cpu start
This commit is contained in:
@@ -212,7 +212,9 @@ void IRAM_ATTR call_start_cpu1(void)
|
||||
*/
|
||||
esp_cpu_intr_set_mtvt_addr(&_mtvt_table);
|
||||
#endif
|
||||
|
||||
#if SOC_CPU_SUPPORT_WFE
|
||||
rv_utils_disable_wfe_mode();
|
||||
#endif
|
||||
ets_set_appcpu_boot_addr(0);
|
||||
|
||||
bootloader_init_mem();
|
||||
@@ -413,6 +415,9 @@ void IRAM_ATTR call_start_cpu0(void)
|
||||
*/
|
||||
esp_cpu_intr_set_mtvt_addr(&_mtvt_table);
|
||||
#endif
|
||||
#if SOC_CPU_SUPPORT_WFE
|
||||
rv_utils_disable_wfe_mode();
|
||||
#endif
|
||||
|
||||
/* NOTE: When ESP-TEE is enabled, this sets up the callback function
|
||||
* which redirects all the interrupt management for the REE (user app)
|
||||
|
Reference in New Issue
Block a user