zephyr/include
Ioannis Glaropoulos e0db39447b arch: arm: re-organize thread stack macro defines in arch.h
This commit re-organizes the macro definitions in arch.h for
the ARM architecture. In particular, the commit:
- defines the minimum alignment requirement for thread stacks,
  that is, excluding alignment requirement for (possible)
  MPU stack guards.
- defines convenience macros for the MPU stack guard align and
  size for threads using the FP services under Shared registers
  mode (CONFIG_FP_SHARING=y). For that, a hidden Kconfig option
  is defined in arch/arm/core/cortex_m/mpu/Kconfig.
- enforces stack alignment with a wide MPU stack guard (128
  bytes) under CONFIG_FP_SHARING=y for the ARMv7-M architecture,
  which requires start address alignment with power-of-two and
  region size.

The commit does not change the amount of stack that is reserved
with K_THREAD_STACK_DEFINE; it only determines the stack buffer
alignment as explained above.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2019-06-24 10:16:57 -07:00
..
app_memory kernel: app_memdomain: remove unused defines 2019-06-17 10:00:22 -07:00
arch arch: arm: re-organize thread stack macro defines in arch.h 2019-06-24 10:16:57 -07:00
audio all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
bluetooth docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
cmsis_rtos_v1 all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
cmsis_rtos_v2
crypto all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
debug
dfu dfu: mcuboot: Added defines for upgrade request modes 2019-05-21 15:31:00 -04:00
display arch/x86: drivers/display: add framebuffer driver w/ multiboot support 2019-06-06 10:47:29 -07:00
drivers include/drivers/system_timer.h: Clean up docs 2019-06-17 20:32:50 -04:00
dt-bindings dts: bindings: usb: Add enum to maximum-speed property 2019-05-17 09:53:20 -05:00
fs
linker include: scripts: fix typos in priv_stacks.ld 2019-06-17 10:00:22 -07:00
logging log facility: make its records 64-bit compatible 2019-06-24 08:58:52 +02:00
mgmt
misc include: misc: macros to perform word/pointer boundary alignment 2019-06-20 08:42:45 -04:00
net net: mqtt: add mqtt_readall_publish_payload() 2019-06-20 13:06:08 +03:00
nvs fs/nvs: Improve init speed and remove fs->locked 2019-02-21 09:32:52 -05:00
posix PTHREAD_MUTEX_DEFINE(): don't store into the _k_mutex section 2019-06-04 09:24:08 -04:00
random
settings subsys/settings: change processing to const char 2019-06-18 17:57:08 +02:00
shell doc: fix doxygen comments with embedded reST 2019-06-10 18:16:12 -04:00
toolchain docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
usb usb: enforce byte alignment on USB records 2019-06-17 16:41:43 -04:00
zephyr
adc.h drivers: adc: add API to support calibration 2019-05-30 17:18:17 -04:00
aio_comparator.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
atomic.h include: Make statements evaluate boolean expressions 2019-03-26 14:31:29 -04:00
base64.h
cache.h
can.h drivers: can: Add loopback driver 2019-05-12 16:54:49 -04:00
clock_control.h C++: Fix compilation error "invalid conversion" 2019-05-03 14:27:07 -04:00
console.h console: deprecate console_register_line_input() 2019-03-26 12:48:38 -05:00
counter.h drivers: counter: Add flags to counter_config_info structure 2019-05-27 09:18:34 -04:00
crc.h
device.h linker generated list: explicit alignment on data definitions 2019-06-06 14:21:32 -07:00
disk_access.h
display.h
dma.h api: dma: add api to retrieve runtime status 2019-05-07 22:14:36 -04:00
entropy.h entropy: fix C++ compiler warnings 2019-05-21 08:26:12 -04:00
exc_handle.h
fcb.h
flash_map.h doc: Fix typos in flashmap.h 2019-05-28 12:27:43 -04:00
flash.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
fs.h fs: Added API to read mount point 2019-06-11 08:31:54 -04:00
generated_dts_board.h
gna.h
gpio.h include: Make statements evaluate boolean expressions 2019-03-26 14:31:29 -04:00
hwinfo.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
i2c.h all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
i2s.h include: Use macro BIT for shift operations 2019-03-26 14:31:29 -04:00
init.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
ipm.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
irq_nextlevel.h
irq_offload.h
irq.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
json.h docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
kernel_includes.h
kernel_version.h
kernel.h mem_slab: enforce minimum alignment on statically allocated slabs 2019-06-20 08:42:45 -04:00
led_strip.h
led.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
pinmux.h C++: Fix compilation error "invalid conversion" 2019-05-03 14:27:07 -04:00
power.h all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
ptp_clock.h
pwm.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
ring_buffer.h ring_buffer: Add functions for getting capacity and reseting 2019-05-30 09:44:03 -04:00
rtc.h all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
sched_priq.h docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
sensor.h include: added new sensor channel SENSOR_CHAN_GAS_RES 2019-05-31 10:27:13 -05:00
shared_irq.h
spi.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
spinlock.h thread_cpu: make it 64-bit compatible 2019-05-30 09:42:23 -04:00
stats.h stats: changed API to use zephyr types 2019-05-01 10:33:17 -04:00
sw_isr_table.h include: Use macro BIT for shift operations 2019-03-26 14:31:29 -04:00
sys_clock.h kernel: timeout: add syscall for runtime clk freq 2019-05-22 23:33:55 +02:00
sys_io.h misc: memory address type conversions 2019-06-03 21:14:57 -04:00
syscall.h syscall: Fix comment 2019-04-12 17:59:25 -04:00
toolchain.h toolchain: Define a HAS_BUILTIN(x) macro in toolchain.h. 2019-05-14 19:53:30 -05:00
tracing.h tracing: Fix checks of Kconfig options 2019-05-17 15:46:18 -07:00
tty.h
uart.h include/uart.h: Clarify async receive event length 2019-05-27 09:23:39 -04:00
updatehub.h lib: updatehub: Add UpdateHub.io support 2019-06-05 00:20:37 +02:00
watchdog.h include: Removing legacy left-overs in wdt.h API header 2019-06-17 16:45:27 -04:00
zephyr.h