Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions arch/arm64/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ zephyr_library_sources_ifdef(CONFIG_AARCH64_IMAGE_HEADER header.S)
zephyr_library_sources_ifdef(CONFIG_SEMIHOST semihost.c)
zephyr_library_sources_ifdef(CONFIG_DEBUG_COREDUMP_FATAL_UNLOCK_IRQS coredump_fatal_irq.c)
zephyr_library_sources_ifdef(CONFIG_DEBUG_COREDUMP coredump.c)
zephyr_library_sources_ifdef(CONFIG_GDBSTUB gdbstub.c)
if((CONFIG_MP_MAX_NUM_CPUS GREATER 1) OR (CONFIG_SMP))
zephyr_library_sources(smp.c)
endif()
Expand Down
6 changes: 6 additions & 0 deletions arch/arm64/core/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,17 @@ config CPU_CORTEX_A
# callee_saved.sp_elx, so THREAD_STACK_TOP cannot rely on the saved SP.
# Dump the full stack allocation instead (matches RISC-V and Xtensa).
select ARCH_SUPPORTS_COREDUMP_STACK_PTR if !SMP
select ARCH_HAS_GDBSTUB
imply FPU
imply FPU_SHARING
help
This option signifies the use of a CPU of the Cortex-A family.

config GDBSTUB_BUF_SZ
# GDB aarch64 g-packet: x0-x30/sp/pc/cpsr + v0-v31/fpsr/fpcr
# (788 bytes binary -> 1576 hex chars). Leave headroom for framing.
default 2048 if GDBSTUB

config CPU_AARCH64_CORTEX_R
bool
select CPU_CORTEX
Expand Down
Loading
Loading