adds hooks in bootup do move smp booting into the smp port lib
This commit is contained in:
@@ -10,8 +10,16 @@ set(THREADX_SMP_CUSTOM_INC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/inc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../moonlight/inc # needed for Moonlight SMP support headers
|
||||
)
|
||||
|
||||
#required for tests to hook into the ISR path
|
||||
if(NOT DEFINED THREADX_LOW_LEVEL_INIT_SOURCE)
|
||||
set(THREADX_LOW_LEVEL_INIT_SOURCE
|
||||
${CMAKE_CURRENT_LIST_DIR}/src/tx_initialize_low_level.c)
|
||||
endif()
|
||||
|
||||
set(THREADX_SMP_CUSTOM_SRC
|
||||
src/tx_initialize_low_level.S
|
||||
src/trap_entry.S
|
||||
${THREADX_LOW_LEVEL_INIT_SOURCE}
|
||||
src/tx_thread_context_restore.S
|
||||
src/tx_thread_context_save.S
|
||||
src/tx_thread_interrupt_control.S
|
||||
|
||||
Reference in New Issue
Block a user