soc_ll.h 666 B

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