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
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
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
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
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
make-ll
Makefile
Makefile.build
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
Makefile.modbuiltin
Makefile.qemu qemu: cleanup qemu configurations 2017-09-23 16:51:20 -07:00
Makefile.toolchain.espressif
Makefile.toolchain.gccarmemb
Makefile.toolchain.issm
Makefile.toolchain.riscv32
Makefile.toolchain.xcc
Makefile.toolchain.xtools xtools: fix some build issues 2017-10-09 09:10:39 -04:00
Makefile.toolchain.zephyr
Makefile.xt-run
Makefile.xtsc-run
mkmakefile
mksysmap
process_gperf.py kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
qemu-machine-hack.py
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
tags.sh
timestamp
uncrustify.cfg
vercomp
waitpid