zephyr/tests
Benjamin Walsh f955476559 kernel/arch: optimize memory use of some thread fields
Some thread fields were 32-bit wide, when they are not even close to
using that full range of values. They are instead changed to 8-bit fields.

- prio can fit in one byte, limiting the priorities range to -128 to 127

- recursive scheduler locking can be limited to 255; a rollover results
  most probably from a logic error

- flags are split into execution flags and thread states; 8 bits is
  enough for each of them currently, with at worst two states and four
  flags to spare (on x86, on other archs, there are six flags to spare)

Doing this saves 8 bytes per stack. It also sets up an incoming
enhancement when checking if the current thread is preemptible on
interrupt exit.

Change-Id: Ieb5321a5b99f99173b0605dd4a193c3bc7ddabf4
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2017-01-09 20:52:24 +00:00
..
bluetooth subsys: disk: Refactor disk_access stuff into a directory 2017-01-08 20:58:05 +00:00
booting/stub tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
compliance tests/compiance/checkpatch: force the format to 'email' 2016-11-10 19:30:32 +00:00
crypto tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
drivers kernel: remove dependency on CONFIG_NANO_TIMERS/TIMEOUTS 2017-01-08 18:09:52 +00:00
fs/fat_fs subsys: disk: Refactor disk_access stuff into a directory 2017-01-08 20:58:05 +00:00
include kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
kernel kernel: remove dependency on CONFIG_NANO_TIMERS/TIMEOUTS 2017-01-08 18:09:52 +00:00
legacy kernel/arch: optimize memory use of some thread fields 2017-01-09 20:52:24 +00:00
net kernel: remove dependency on CONFIG_NANO_TIMERS/TIMEOUTS 2017-01-08 18:09:52 +00:00
power/power_states kernel: remove dependency on CONFIG_NANO_TIMERS/TIMEOUTS 2017-01-08 18:09:52 +00:00
subsys/debug/gdb_server tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
unit net: buf: Remove the need for net_buf_pool_init() 2016-12-15 09:58:02 +02:00
ztest tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
Kconfig
Makefile
Makefile.test
defaults.tc