nuttx/arch
Alexander Lerach d1be769038 arch/arm: Fix crash when using memcpy/memset as RAMFUNCS
Add no_builtin for memcpy/memset to the startup code of boards
with CONFIG_ARCH_RAMFUNCS, because certain compilers call memcpy/memset
instead of the explicit for loop. This will cause a crash if memcpy/memset
are mapped to RAM because the function that copies them to RAM is called later,
resulting in undefined code being executed.

Signed-off-by: Alexander Lerach <alexander@auterion.com>

arch/arm: Use decorator for entry point

Use a decorator that contains the required no_builtin instead of adding
them explicitly to the startup code. This way it will be easier to
maintain them in the future when changes to the no_builtin used are required.

Signed-off-by: Alexander Lerach <alexander@auterion.com>

arch/arm: Rename decorator

Rename the entry point decorator used for the startup code to a less explicit name.
This way the style is more consistent with other decorators.

Signed-off-by: Alexander Lerach <alexander@auterion.com>
2025-03-27 02:17:14 +08:00
..
arm arch/arm: Fix crash when using memcpy/memset as RAMFUNCS 2025-03-27 02:17:14 +08:00
arm64 arch/arm64: Increase the timer accuracy with the lower USEC_PER_TICK. 2025-03-26 19:26:37 +08:00
avr Revert "Use small lock to protect usbdev and endpoint in AVR." 2025-02-13 14:15:43 +08:00
ceva arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
dummy
hc Revert "Use small lock to protect resources related to irq in arch avr, hc, mips and or1k." 2025-02-13 14:15:43 +08:00
mips Revert "Use small lock to protect usbdev and endpoint in arch mips" 2025-02-13 14:15:43 +08:00
misoc arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
or1k nuttx/compiler: fix build warning on GCC14 2025-02-18 09:04:54 -05:00
renesas Revert "Use small lock to protect usbdev and endpoint in arch renesas." 2025-02-13 14:15:43 +08:00
risc-v mpfs/mpfs_rcc: Add stub driver for FPGA clock and reset controller 2025-03-25 11:59:47 -03:00
sim Revert "Use small lock to protect usbdev and endpoint in sim." 2025-02-13 14:15:43 +08:00
sparc Revert "Use small lock to protect resources related to irq in arch avr, hc, mips and or1k." 2025-02-13 14:15:43 +08:00
tricore [nxstyle] fix Relative files path 2025-02-21 15:36:05 +01:00
x86 x86/Toolchain.defs: Add LLVM target definitions 2025-01-27 02:28:29 +08:00
x86_64 arch/x86_64: Implement TSC frequency query via CPUID 0x40000010 2025-03-15 13:35:16 +01:00
xtensa arch/xtensa/esp32s3: Change default pins for esp32s3-lcd-ev-board v1.5 2025-03-24 21:28:04 +08:00
z16 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
z80 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
CMakeLists.txt
Kconfig arch/Kconfig: allow FLASH config for non-MMU chips 2025-01-17 16:38:17 +08:00