zephyr/scripts
Andrew Boie 818a96d3af userspace: assign thread IDs at build time
Kernel object metadata had an extra data field added recently to
store bounds for stack objects. Use this data field to assign
IDs to thread objects at build time. This has numerous advantages:

* Threads can be granted permissions on kernel objects before the
  thread is initialized. Previously, it was necessary to call
  k_thread_create() with a K_FOREVER delay, assign permissions, then
  start the thread. Permissions are still completely cleared when
  a thread exits.

* No need for runtime logic to manage thread IDs

* Build error if CONFIG_MAX_THREAD_BYTES is set too low

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-11-03 11:29:23 -07:00
..
basic scripts: Update fixdep from kernel.org 2016-10-31 20:58:57 +00:00
checkpatch checkpatch: add NANO_ESF as a typedef to avoid spacing errors 2017-11-03 10:29:41 -04:00
ci ci: fix encoding of documentation warning file 2017-10-20 15:53:17 -04:00
cross_compiler toolchains: fix xtools configurations 2017-10-12 16:27:12 -05:00
dts scripts/dts/extract_dts_includes.py: Cleanup yaml file finding 2017-10-23 15:02:00 +02:00
footprint scripts: move footprint scripts to footprint/ 2017-09-11 08:53:56 -07:00
gitlint ci: do not treat message parts as xml 2017-10-28 09:00:50 -04:00
kconfig scrips/merge_config.sh: fix corner case \n-less last line 2017-09-30 22:42:08 -04:00
sanity_chk sanitycheck: add extra_configs for testing with multiple values 2017-10-17 08:55:38 -04:00
support build: remove flash/debug shell scripts 2017-10-28 13:31:22 -04:00
.gitignore
check_link_map.py check_link_map: fix check for app memory 2017-06-29 07:46:58 -04:00
checkpatch.pl scripts: Update checkpatch to latest from the linux kernel 2017-10-02 18:48:56 -04:00
checkstack.pl
file2hex.py build: Add rules in Makefile.gen to generate a hex file 2017-09-18 14:56:16 -04:00
filter-known-issues.py doc: filter-known-issues.py and empty files 2017-09-21 16:58:17 -04:00
gcc-version.sh
gen_gdt.py x86: implement userspace APIs 2017-09-12 12:46:36 -07:00
gen_idt.py scripts: add version check for pyelftools 2017-07-25 13:41:16 -04:00
gen_kobject_list.py userspace: assign thread IDs at build time 2017-11-03 11:29:23 -07:00
gen_mmu_x86.py x86: MMU: Rename gen_mmu script 2017-11-03 09:29:39 -07:00
gen_offset_header.py scripts: fix offset.h header guard 2017-08-01 15:05:13 -04:00
gen_syscall_header.py gen_syscall_header: use compiler barrier 2017-10-16 16:16:56 -07:00
gen_syscalls.py kernel: allow system call with 64-bit return val 2017-10-12 16:25:00 -07:00
headerdep.pl
Kbuild.include Kbuild.include: add function for unquoting strings 2017-05-18 07:18:36 -04:00
make-ll license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile build: Fix distclean for gen_idt 2017-08-01 22:10:22 -04:00
Makefile.build build: support pre-built host tools 2016-11-12 00:34:03 +00:00
Makefile.clean
Makefile.extrawarn
Makefile.gen build: Makefile.gen: reorder make rules to deal with greedy rule match 2017-09-28 09:29:34 -07:00
Makefile.headersinst
Makefile.help
Makefile.host
Makefile.lib build: allow user to specify DTC_OVERLAY_FILE directly 2017-07-31 09:21:46 -05:00
Makefile.modbuiltin
Makefile.qemu qemu: cleanup qemu configurations 2017-09-23 16:51:20 -07:00
Makefile.toolchain.espressif Support for Espressif SDK (ESP32, etc) 2017-06-21 12:35:49 -04:00
Makefile.toolchain.gccarmemb toolchain.gccarmemb: Fix support for where to find newlib 2017-06-08 14:52:49 -04:00
Makefile.toolchain.issm toolchains: add DTC to environment 2017-06-23 13:10:52 -05:00
Makefile.toolchain.riscv32 scripts: added Makefile to handle an external riscv32 toolchain 2017-01-13 19:52:22 +00:00
Makefile.toolchain.xcc xtensa: fix 'make debug' for xt-sim targets 2017-06-12 18:01:13 -04:00
Makefile.toolchain.xtools xtools: fix some build issues 2017-10-09 09:10:39 -04:00
Makefile.toolchain.zephyr Makefile.toolchain.zephyr: fix C++ on Xtensa 2017-06-06 20:37:11 -04:00
Makefile.xt-run emulation: fix path of ELF binary when running with xt-sim 2017-05-11 16:51:56 -04:00
Makefile.xtsc-run xtensa: build similar to other Zephyr arches 2017-04-13 12:42:06 +00:00
mkmakefile
mksysmap
process_gperf.py kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
qemu-machine-hack.py build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
requirements.txt scripts: require python module wheel 2017-10-31 12:32:34 -04:00
sanitycheck sanitycheck: tone down verbose output 2017-10-27 10:55:12 -07:00
spelling.txt scripts: updated spelling.txt file 2017-07-14 12:57:40 +03:00
tags.sh
timestamp license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
uncrustify.cfg scripts: add configuration file for uncrustify 2017-02-04 01:46:29 +00:00
vercomp
waitpid sanitycheck: Let waitpid script kill Xtensa ISS if user hits ctrl+c. 2017-04-11 16:53:41 +00:00