forked from espressif/esp-idf
arch: move shared stack implementation to esp_system
This commit is contained in:
@@ -13,8 +13,6 @@
|
|||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include <esp_expression_with_stack.h>
|
#include <esp_expression_with_stack.h>
|
||||||
#include <freertos/xtensa_rtos.h>
|
|
||||||
#include <freertos/xtensa_context.h>
|
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "freertos/FreeRTOS.h"
|
#include "freertos/FreeRTOS.h"
|
@@ -3,6 +3,8 @@ set(srcs "dport_panic_highint_hdl.S"
|
|||||||
"reset_reason.c"
|
"reset_reason.c"
|
||||||
"../../arch/xtensa/panic_arch.c"
|
"../../arch/xtensa/panic_arch.c"
|
||||||
"../../arch/xtensa/panic_handler_asm.S"
|
"../../arch/xtensa/panic_handler_asm.S"
|
||||||
|
"../../arch/xtensa/expression_with_stack.c"
|
||||||
|
"../../arch/xtensa/expression_with_stack_asm.S"
|
||||||
)
|
)
|
||||||
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs})
|
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs})
|
||||||
|
|
||||||
|
@@ -2,6 +2,8 @@ set(srcs "clk.c"
|
|||||||
"reset_reason.c"
|
"reset_reason.c"
|
||||||
"../../async_memcpy_impl_gdma.c"
|
"../../async_memcpy_impl_gdma.c"
|
||||||
"apb_backup_dma.c"
|
"apb_backup_dma.c"
|
||||||
|
"../../arch/riscv/expression_with_stack.c"
|
||||||
|
"../../arch/riscv/expression_with_stack_asm.S"
|
||||||
"../../arch/riscv/panic_arch.c")
|
"../../arch/riscv/panic_arch.c")
|
||||||
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs})
|
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs})
|
||||||
|
|
||||||
|
@@ -4,6 +4,8 @@ set(srcs "async_memcpy_impl_cp_dma.c"
|
|||||||
"reset_reason.c"
|
"reset_reason.c"
|
||||||
"../../arch/xtensa/panic_arch.c"
|
"../../arch/xtensa/panic_arch.c"
|
||||||
"../../arch/xtensa/panic_handler_asm.S"
|
"../../arch/xtensa/panic_handler_asm.S"
|
||||||
|
"../../arch/xtensa/expression_with_stack.c"
|
||||||
|
"../../arch/xtensa/expression_with_stack_asm.S"
|
||||||
)
|
)
|
||||||
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs})
|
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs})
|
||||||
|
|
||||||
|
@@ -4,6 +4,8 @@ set(srcs "dport_panic_highint_hdl.S"
|
|||||||
"../../async_memcpy_impl_gdma.c"
|
"../../async_memcpy_impl_gdma.c"
|
||||||
"../../arch/xtensa/panic_arch.c"
|
"../../arch/xtensa/panic_arch.c"
|
||||||
"../../arch/xtensa/panic_handler_asm.S"
|
"../../arch/xtensa/panic_handler_asm.S"
|
||||||
|
"../../arch/xtensa/expression_with_stack.c"
|
||||||
|
"../../arch/xtensa/expression_with_stack_asm.S"
|
||||||
)
|
)
|
||||||
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs})
|
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs})
|
||||||
|
|
||||||
|
@@ -7,8 +7,6 @@ if(BOOTLOADER_BUILD)
|
|||||||
else()
|
else()
|
||||||
set(priv_requires soc freertos)
|
set(priv_requires soc freertos)
|
||||||
set(srcs
|
set(srcs
|
||||||
"expression_with_stack_riscv.c"
|
|
||||||
"expression_with_stack_riscv_asm.S"
|
|
||||||
"instruction_decode.c"
|
"instruction_decode.c"
|
||||||
"interrupt.c"
|
"interrupt.c"
|
||||||
"stdatomic.c"
|
"stdatomic.c"
|
||||||
|
@@ -9,8 +9,6 @@ else()
|
|||||||
set(priv_requires soc freertos)
|
set(priv_requires soc freertos)
|
||||||
set(srcs "debug_helpers.c"
|
set(srcs "debug_helpers.c"
|
||||||
"debug_helpers_asm.S"
|
"debug_helpers_asm.S"
|
||||||
"expression_with_stack_xtensa.c"
|
|
||||||
"expression_with_stack_xtensa_asm.S"
|
|
||||||
"eri.c"
|
"eri.c"
|
||||||
"trax.c"
|
"trax.c"
|
||||||
"xtensa_intr.c"
|
"xtensa_intr.c"
|
||||||
|
Reference in New Issue
Block a user