1 /* 2 * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #pragma once 8 9 /* 10 Note: This is a compatibility header. Call the interfaces in esp_cpu.h instead 11 */ 12 13 #include "esp_attr.h" 14 #include "esp_cpu.h" 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif 19 soc_ll_stall_core(int core)20FORCE_INLINE_ATTR __attribute__((deprecated)) void soc_ll_stall_core(int core) 21 { 22 esp_cpu_stall(core); 23 } 24 soc_ll_unstall_core(int core)25FORCE_INLINE_ATTR __attribute__((deprecated)) void soc_ll_unstall_core(int core) 26 { 27 esp_cpu_unstall(core); 28 } 29 soc_ll_reset_core(int core)30FORCE_INLINE_ATTR __attribute__((deprecated)) void soc_ll_reset_core(int core) 31 { 32 esp_cpu_reset(core); 33 } 34 35 #ifdef __cplusplus 36 } 37 #endif 38