zephyr/kernel
Sebastian Bøe 878a0f050e ld: Put 'sizeof(struct device)' in the generated offsets header
Rename _DEVICE_STRUCT_SIZE to _DEVICE_STRUCT_SIZEOF. This causes it to
be picked by the script 'gen_offset_header.py' and inserted into the
header file 'include/generated/offsets.h'.

Renaming from x_SIZE to x_SIZEOF will align it's name with the other
symbols that denote a sctruct's size, like K_THREAD_SIZEOF.

Furthermore, it will allow the symbol to be accessed through a header
file define, instead of only as an extern symbol. This is more
flexible, and more aligned with the other symbols in offsets.

Finally, if we are able to move all of offsets.c symbols into the
offsets.h header file we be able to remove offsets.o from the link and
thereby simplify the linking process.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2018-09-18 16:23:40 +02:00
..
include ld: Put 'sizeof(struct device)' in the generated offsets header 2018-09-18 16:23:40 +02:00
CMakeLists.txt
Kconfig kernel: event_logger: remove kernel_event_logger 2018-08-21 05:45:47 -07:00
Kconfig.power_mgmt doc: fix kconfig misspellings 2018-08-28 13:58:46 -04:00
alert.c
atomic_c.c
compiler_stack_protect.c
device.c kernel; Checking functions return 2018-09-14 16:55:37 -04:00
errno.c kernel: userspace: reserve stack space to store local data 2018-08-17 09:40:52 -07:00
idle.c
init.c coccicnelle: Ignore return of memset 2018-09-14 16:55:37 -04:00
int_latency_bench.c
mailbox.c kernel; Checking functions return 2018-09-14 16:55:37 -04:00
mem_domain.c coccicnelle: Ignore return of memset 2018-09-14 16:55:37 -04:00
mem_slab.c
mempool.c kernel: Ignore _pend_current_thread return in some cases 2018-09-14 16:55:37 -04:00
msg_q.c kernel: Explicitly ignoring memcpy return 2018-08-16 19:47:41 -07:00
mutex.c tracing: support generic tracing hooks 2018-08-21 05:45:47 -07:00
pipes.c kernel; Checking functions return 2018-09-14 16:55:37 -04:00
poll.c kernel: Add missing break/default in switch statement 2018-09-12 10:05:06 -04:00
queue.c kernel: k_poll: Introduce separate status for cancelled events 2018-08-30 09:28:29 -04:00
sched.c kernel: Explicitly check _abort_thread_timemout 2018-09-14 16:55:37 -04:00
sem.c tracing: remove stray event_logger code 2018-09-05 16:05:08 -04:00
smp.c kernel; Checking functions return 2018-09-14 16:55:37 -04:00
stack.c kernel: Fix k_stack_alloc_init behavior 2018-09-13 13:20:13 -04:00
sys_clock.c kernel: Remove unused variable 2018-08-26 19:39:52 -07:00
system_work_q.c
thread.c kernel: Explicitly check _abort_thread_timemout 2018-09-14 16:55:37 -04:00
thread_abort.c kernel: Explicitly ignoring _Swap return 2018-09-14 16:55:37 -04:00
timer.c kernel: Ignore _abort_timeout return 2018-09-14 16:55:37 -04:00
userspace.c coccicnelle: Ignore return of memset 2018-09-14 16:55:37 -04:00
userspace_handler.c
version.c
work_q.c kernel: Check k_thread_create return value 2018-09-14 16:55:37 -04:00