zephyr/include
Andy Ross d37370301c k_heap: Clamp to a minimum heap size
The K_HEAP_DEFINE macro would allow users to specify heaps that are
too small, leading to potential corruption events (though at least
there were __ASSERTs that would catch this at runtime if enabled).

It would be nice to put the logic to compute this value into the heap
code, but that isn't available in kernel.h (and we don't want to pull
it in as this header is already WAY to thick).  So instead we just
hand-compute and document the choice.  We can address bitrot problems
with a test.

(Tweaks to heap size asserts and correct size bounds from Nicolas Pitre)

Fixes #33009

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2021-05-20 17:52:21 -04:00
..
app_memory
arch x86: ia32: put IRQ stubs into pinned linker section if needed 2021-05-10 16:00:43 -05:00
audio
bluetooth Bluetooth: Crypto: Fix naming of params 2021-05-12 12:37:27 +03:00
canbus
console
crypto
data
debug kernel: remove object tracing 2021-05-07 22:10:21 -04:00
devicetree
dfu
disk
display
drivers drivers: display: fix doxygen issues 2021-05-19 06:21:53 -04:00
dt-bindings drivers: adc: Define max acquisition time 2021-05-08 10:18:09 -05:00
fs
ipc
kernel kernel: move thread_stack.h to include/kernel 2021-05-17 17:32:12 -04:00
linker toolchain: arcmwdt: linker: fix placeholders for arcmwdt toolchain 2021-05-20 07:50:38 -05:00
logging logging: Add missing initialization of structure fields 2021-05-20 08:23:31 -05:00
lorawan lorawan: port oriented downlink callbacks 2021-04-30 13:05:10 -05:00
mgmt
modbus
net net: openthread: fix CSL API 2021-05-18 11:24:40 -05:00
pm doc: fix doxygen grouping 2021-05-17 11:51:44 -04:00
portability
posix
power pm: deprecate power/power.h header 2021-05-05 18:35:49 -04:00
random
settings
shell shell: log_backend: Add mpsc_pbuf buffer alignment 2021-05-18 11:22:13 -05:00
stats
storage
sys lib: os: cbprintf: Add ARG_UNUSED to unused arguments 2021-05-20 08:23:31 -05:00
task_wdt
timing
toolchain toolchain: gcc: fix extra space when using SECTION_VAR 2021-05-10 16:00:43 -05:00
tracing power: trace power events 2021-05-17 18:45:57 -04:00
usb usb: hid: remove get_protocol/set_protocol from USB HID class API 2021-05-07 13:14:47 +02:00
zephyr
cache.h cache: Rename sys_{dcache,icache}_* to sys_{data,instr}_cache_* 2021-05-08 07:00:33 +02:00
device.h kernel/device: add arg checking in z_device_ready() 2021-05-18 11:29:46 -05:00
devicetree.h
ec_host_cmd.h
emul.h
exc_handle.h
fatal.h
generated_dts_board.h
init.h
irq.h doc: fix display of the ISR_DIRECT_DECLARE example usage 2021-05-07 20:52:02 -04:00
irq_nextlevel.h
irq_offload.h
kernel.h k_heap: Clamp to a minimum heap size 2021-05-20 17:52:21 -04:00
kernel_includes.h kernel: move thread_stack.h to include/kernel 2021-05-17 17:32:12 -04:00
kernel_structs.h
kernel_version.h
mempool_heap.h
ptp_clock.h
sched_priq.h
shared_irq.h
spinlock.h
sw_isr_table.h
sys_clock.h
syscall.h
syscall_handler.h
timeout_q.h
toolchain.h
wait_q.h
zephyr.h