esp-idf/tools/ci
Jakob Hasse fc22e3c645 [system]: Made longjmp save for context switch
* Patched longjmp to be context-switch safe
  longjmp modifies the windowbase and windowstart
  registers, which isn't safe if a context switch
  occurs during the modification. After a context
  switch, windowstart and windowbase will be
  different, leading to a wrongly set windowstart
  bit due to longjmp writing it based on the
  windowbase before the context switch. This
  corrupts the registers at the next window
  overflow reaching that wrongly set bit.

  The solution is to disable interrupts during
  this code. It is only 6 instructions long,
  the impact shouldn't be significant.

  The fix is implemented as a wrapper which
  replaces the original first instructions of
  longjmp which are buggy. Then, it jumps back
  to execute the rest of the original longjmp
  function.

  Added a comparably reliable test to the
  test apps.
2021-04-23 15:55:31 +08:00
..
python_packages fix(ci): return as failed when no test case result generated 2021-04-20 11:18:12 +08:00
build_example_dirs.txt ci: support building examples with external components 2018-11-19 12:36:31 +08:00
build_template_app.sh ci: Move partition table offset for -O0 build of template app 2021-04-16 16:40:47 +10:00
check_artifacts_expire_time.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
check_build_warnings.py tools: Add /*error*.o and /*error*.d to allowed build lines 2021-04-20 18:09:40 +08:00
check_callgraph.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
check_codeowners.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
check_deprecated_kconfigs.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
check_examples_cmake_make-cmake_ignore.txt usb: cdc support, streams redirection; ci, examples upd 2020-08-06 15:26:08 +02:00
check_examples_cmake_make-make_ignore.txt component/bt: add BLE v5.0 feature for bluedroid host 2021-01-15 17:55:12 +08:00
check_examples_cmake_make.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
check_examples_rom_header.sh esp_rom: extract common GPIO apis into esp_rom_gpio.h 2020-07-07 11:40:19 +08:00
check_executables.py pre-commit: recognize Windows excecutable files with git 2020-11-12 17:52:31 +08:00
check_idf_version.sh Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
check_kconfigs.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
check_ldgen_mapping_exceptions.txt components: fix ldgen check errors 2021-01-19 11:17:18 +08:00
check_public_headers_exceptions.txt OpenThread: add OpenThread and porting 2021-04-02 14:49:49 +08:00
check_public_headers.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
check_readme_links.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
check_rom_apis.sh ci: exclude esp_rom component when checking rom api usage 2021-02-22 20:56:43 +08:00
check_rules_yml.py ci(pre-commit): check if rules is updated and valid 2021-02-10 14:50:07 +08:00
check_tools_files_patterns.py ci(rules): auto generate rules.yml labels titles and rules 2021-02-10 14:50:06 +08:00
check_type_comments.py Remove sorting of MYPY ignore list from py script 2021-04-13 10:35:56 +02:00
check_ut_cmake_make.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
checkout_project_ref.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
ci_fetch_submodule.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
ci_get_mr_info.py Add mypy check to pre-commit-config 2021-02-25 07:05:43 +00:00
configure_ci_environment.sh Add -Wstrict-prototypes check in CI 2019-08-01 16:28:56 +07:00
deploy_docs.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
envsubst.py mqtt tests: connect to local broker when running in CI to make the tests more reliable 2019-01-11 15:30:15 +01:00
exclude_check_tools_files.txt Update exclude_check_tools_files.txt 2021-02-25 07:05:43 +00:00
executable-list.txt cmake partition_table: Check binaries fit in partition spaces at build time 2021-04-16 16:40:47 +10:00
find_apps_build_apps.sh CI: download only required bin for unit-tests. Refactor AssignTest related code 2020-08-04 13:27:16 +08:00
fix_empty_prototypes.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
get_supported_examples.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
get-full-sources.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
idf_ci_utils.py ci(rules): add check_tools_file_patterns.py 2021-02-10 14:48:51 +08:00
mirror-submodule-update.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
multirun_with_pyenv.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
mypy_ignore_list.txt [system]: Made longjmp save for context switch 2021-04-23 15:55:31 +08:00
normalize_clangtidy_path.py style(pre-commit): unrelated changes 2021-02-10 14:50:07 +08:00
push_to_github.sh Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
setup_python.sh ci: all jobs use python3 by default 2020-11-19 03:27:58 +00:00
sonar_exclude_list.txt CI: clarify file patterns in sonar_exclude_list.txt 2020-11-24 13:39:18 +08:00
static-analysis-rules.yml Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_autocomplete.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
test_build_system_cmake.sh Merge branch 'refactor/movements_from_target_components' into 'master' 2021-04-05 02:37:21 +00:00
test_build_system.sh Merge branch 'refactor/movements_from_target_components' into 'master' 2021-04-05 02:37:21 +00:00
test_check_kconfigs.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
test_configure_ci_environment.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
utils.sh ci(rules): auto generate rules.yml labels titles and rules 2021-02-10 14:50:06 +08:00