zephyr/include/sys
Yuval Peress 2a80d67843 cbprintf: Fix incorrect alignment
In addition to x86-32, POSIX boards are also affected by the issue
where a `long double` has the size of 12.

Simplify the process by setting the alignment to 16 for xtensa (as
before). Then defaulting to using `long double` if the config is set.
The case of 12 byte `long double` is then handled by Z_POW2_CEIL when
available. Otherwise, a BUILD_ASSERT is used to verify that alignment
is valid.

Signed-off-by: Yuval Peress <peress@google.com>
2022-03-24 10:44:38 +01:00
..
__assert.h lib: os: assert: Avoid including printk.h in __assert.h 2022-03-16 10:27:20 +01:00
arch_interface.h drivers/pcie: Add a marco for fixed or MSI IRQ 2022-01-07 10:47:27 -05:00
atomic_arch.h kernel: atomic: possibility of arch specific implementation 2021-05-03 11:57:46 +02:00
atomic_builtin.h include/atomics: doc: Clarify memory barrier behavior 2022-03-09 13:46:06 -05:00
atomic_c.h kernel: atomic: consistently use named type for atomic pointer values 2021-04-19 15:22:13 +02:00
atomic.h include/atomics: doc: Clarify memory barrier behavior 2022-03-09 13:46:06 -05:00
base64.h
bitarray.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
byteorder.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
cbprintf_cxx.h sys: cbprintf: Fix unused arg warning 2021-12-14 11:47:13 -06:00
cbprintf_internal.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
cbprintf.h cbprintf: Fix incorrect alignment 2022-03-24 10:44:38 +01:00
check.h
crc.h lib: os: crc: Rework the crc16() implementation 2022-02-04 12:33:22 -05:00
device_mmio.h sys: device_mmio.h replace <toolchain/common.h> with <toolchain.h> 2022-01-07 12:47:31 -05:00
dlist.h sys: include: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
errno_private.h kernel: support using thread local storage for errno 2020-10-24 10:52:00 -07:00
fdtable.h net: socket: Add locking to prevent concurrent access 2021-04-15 07:16:51 -05:00
heap_listener.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
kobject.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
libc-hooks.h libc: minimal: Use new ZRESTRICT macro 2021-11-05 13:29:31 +01:00
list_gen.h
math_extras_impl.h
math_extras.h
mem_blocks.h lib: os: mem_blocks: add memory blocks allocator groups 2022-01-11 16:10:53 -05:00
mem_manage.h docs: Fix doxygen errors in include/sys/mem_manage.h 2021-05-28 11:30:51 -05:00
mpsc_packet.h lib: os: Add mpsc (multiple producer, single consumer) packet buffer 2021-04-19 10:59:23 -04:00
mpsc_pbuf.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
multi_heap.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
mutex.h sys: include: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
notify.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
onoff.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
p4wq.h toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
printk.h logging: printk: Fix LOG_PRINTK for v2 2022-01-27 10:02:21 +01:00
rb.h lib: rb: Use types that indicate size and signedness 2021-04-20 15:50:49 -04:00
reboot.h sys: include: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
ring_buffer.h ring_buffer: make finish methods final 2022-02-28 10:52:41 +01:00
sem.h toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
sflist.h doc: group data structure docs and add doxygen linkage 2021-04-15 14:04:05 -04:00
slist.h doc: group data structure docs and add doxygen linkage 2021-04-15 14:04:05 -04:00
speculation.h
sys_heap.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
sys_io.h include: common: Add sys_set_bits and set_clear_bits inline functions 2021-10-12 08:37:03 -04:00
time_units.h sys: time_units: Add Kconfig option for algorithm selection 2022-01-18 13:11:52 -05:00
timeutil.h doc: add a section for timeutil APIs 2021-01-20 16:38:56 -05:00
util_internal.h sys: util: improve IS_EMPTY() implementation 2021-11-11 09:31:57 -05:00
util_loops.h sys: util: Add LISTIFY macro 2022-03-08 11:03:30 +01:00
util_macro.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
util.h sys: util: Change return type of ARRAY_SIZE to size_t 2022-03-23 14:09:23 +01:00
winstream.h lib/os: clarify that the winstream object does not track reads 2022-02-21 20:59:48 -05:00