zephyr/scripts
Nicolas Pitre 678b76e4b0 kernel/init.c: allow for memset/memcpy alternatives during early boot
Zeroing the BSS and copying data to RAM with regular memset/memcpy may
cause problems when those functions are assuming a fully initialized
system for their optimizations to work e.g. some instructions require
an active MMU, but turning the MMU on needs the .bss section to be
cleared first, etc.

Commit c5b898743a ("aarch64: Fix alignment fault on z_bss_zero()")
provides a detailed explanation of such a case.

Replacing z_bss_zero() with an architecture specific one is problematic
as the former may see new sections added to it that would be missed by
the later. The same reasoning goes for z_data_copy().

Let's make maintenance much easier by providing weak versions of
memset/memcpy that can be overridden by architecture-specific safe
versions when needed.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2022-02-21 21:00:12 -05:00
..
checkpatch drivers: gpio: Added support for raspberry pi 2022-02-02 16:23:35 +01:00
ci scripts: ci: check_compliance: check for (re)defined Kconfig symbols 2022-02-21 19:35:21 -05:00
coccinelle
coredump debug: coredump: dummy window registers, assign an to arn 2021-12-14 07:40:55 -05:00
dts scripts: gen_defines: zephyr,linker-region unique 2021-12-09 16:23:03 +01:00
footprint footprint: track audio features on xtensa 2022-01-05 14:59:01 -05:00
gitlint
kconfig scripts/Kconfig: add dt_node_str_prop_equals Kconfig function 2021-11-24 12:28:02 +01:00
logging/dictionary cmake: version.h generation performed at build time 2022-02-08 07:50:24 -05:00
net
pylib/twister twister: add option to create shorter build paths 2022-02-21 19:39:32 -05:00
release scripts: add script to extract top-ten bug-bashers 2021-09-01 17:06:50 -04:00
schemas/twister twister: fix the testcase-schema.yaml 2021-11-19 11:46:38 -05:00
support
tests twister: raise error for non-existing platform call 2022-01-11 09:53:40 -05:00
tracing
utils scripts: utils: add pinctrl migration script for nRF boards 2021-11-26 14:20:51 +01:00
west_commands west: spdx: Fix missing field in build results 2022-01-26 18:15:33 +01:00
.gitignore
checkpatch.pl checkpatch: Add UTIL_CAT support to checkpatch 2021-12-04 07:22:56 -05:00
checkstack.pl
coccicheck
dir_is_writeable.py
file2hex.py
gen_app_partitions.py scripts: support compile_commands.json in gen_app_partitions.py 2021-11-25 10:41:28 -05:00
gen_cfb_font_header.py
gen_gcov_files.py
gen_handles.py device: iterable supported devices 2021-11-23 12:17:14 +01:00
gen_image_info.py cmake: support ELF image adjustment 2022-01-22 16:57:31 -05:00
gen_kobject_list.py scripts/arch: remove usage of deprecated LooseVersion 2021-11-19 19:16:11 -05:00
gen_kobject_placeholders.py scripts: gen_kobject_placeholders: iterating the dictionary directly 2021-11-19 19:16:11 -05:00
gen_offset_header.py
gen_relocate_app.py kernel/init.c: allow for memset/memcpy alternatives during early boot 2022-02-21 21:00:12 -05:00
gen_syscalls.py Tracing: TRACING_SYSCALL status ignored fix 2021-10-26 15:13:08 -04:00
get_maintainer.py scripts: get_maintainer: add count function 2021-10-18 08:36:21 -04:00
list_boards.py scripts: list_boards: handle boards dirs with subset of architectures 2021-06-11 16:26:30 +02:00
mergehex.py
parse_syscalls.py
process_gperf.py scripts/arch: remove usage of deprecated LooseVersion 2021-11-19 19:16:11 -05:00
requirements-base.txt requirements: bump west to >=0.10.1 2021-05-18 09:52:12 -05:00
requirements-build-test.txt
requirements-compliance.txt
requirements-doc.txt doc: requirements: stick to breathe < 4.33 2022-02-15 11:26:13 +01:00
requirements-extras.txt scripts: add script to extract top-ten bug-bashers 2021-09-01 17:06:50 -04:00
requirements-run-test.txt
requirements.txt
series-push-hook.sh scripts: series-push-hook: Use main as base comparison branch 2021-05-27 15:55:43 -05:00
spelling.txt
subfolder_list.py
tags.sh
twister twister: add option to create shorter build paths 2022-02-21 19:39:32 -05:00
uf2conv.py
user_wordsize.py
valgrind.supp
west-commands.yml west: spdx: Generate SPDX 2.2 tag-value documents 2021-05-05 11:14:06 -04:00
zephyr_module.py scripts: support propagating workspace status to zephyr revision 2021-12-14 12:32:10 +01:00