Lines Matching +full:api +full:- +full:coverage
2 * Copyright (c) 2010-2014 Wind River Systems, Inc.
4 * SPDX-License-Identifier: Apache-2.0
27 #include <zephyr/linker/linker-defs.h>
68 thread_data->init_thread, in z_init_static_threads()
69 thread_data->init_stack, in z_init_static_threads()
70 thread_data->init_stack_size, in z_init_static_threads()
71 thread_data->init_entry, in z_init_static_threads()
72 thread_data->init_p1, in z_init_static_threads()
73 thread_data->init_p2, in z_init_static_threads()
74 thread_data->init_p3, in z_init_static_threads()
75 thread_data->init_prio, in z_init_static_threads()
76 thread_data->init_options, in z_init_static_threads()
77 thread_data->init_name); in z_init_static_threads()
79 thread_data->init_thread->init_data = thread_data; in z_init_static_threads()
84 for (int i = 0; pos->objects[i] != NULL; i++) { in z_init_static_threads()
85 k_object_access_grant(pos->objects[i], in z_init_static_threads()
86 pos->thread); in z_init_static_threads()
92 * Non-legacy static threads may be started immediately or in z_init_static_threads()
98 * Note that static threads defined using the legacy API have a in z_init_static_threads()
106 thread_schedule_new(thread_data->init_thread, in z_init_static_threads()
182 * This code is called so early in the boot process that code coverage
225 z_early_memset(__bss_start, 0, __bss_end - __bss_start); in z_bss_zero()
229 - (uintptr_t) &__ccm_bss_start); in z_bss_zero()
234 - (uintptr_t) &__dtcm_bss_start); in z_bss_zero()
239 - (uintptr_t) &__ocm_bss_start); in z_bss_zero()
248 ((uintptr_t) &__gcov_bss_end - (uintptr_t) &__gcov_bss_start)); in z_bss_zero()
266 - (uintptr_t)&lnkr_boot_bss_start); in z_bss_zero_boot()
288 - (uintptr_t)&lnkr_pinned_bss_start); in z_bss_zero_pinned()
307 const struct device *dev = entry->dev; in do_device_init()
310 if (entry->init_fn.dev != NULL) { in do_device_init()
311 rc = entry->init_fn.dev(dev); in do_device_init()
317 rc = -rc; in do_device_init()
322 dev->state->init_res = rc; in do_device_init()
326 dev->state->initialized = true; in do_device_init()
364 const struct device *dev = entry->dev; in z_sys_init_run_level()
371 result = entry->init_fn.sys(); in z_sys_init_run_level()
381 return -ENOENT; in z_impl_device_init()
385 if (entry->dev == dev) { in z_impl_device_init()
390 return -ENOENT; in z_impl_device_init()
419 args_buf + CONFIG_BOOTARGS_ARGS_BUFFER_SIZE - sizeof(char *)); in prepare_main_args()
442 " - bootargs truncated"); in prepare_main_args()
446 argv_begin--; in prepare_main_args()
484 " - bootargs truncated"); in prepare_main_args()
567 /* Mark non-essential since main() has no more work to do */ in bg_thread_main()
571 /* Dump coverage data once the main() has exited. */ in bg_thread_main()
574 } /* LCOV_EXCL_LINE ... because we just dumped final coverage data */ in bg_thread_main()
604 thread->base.is_idle = 1U; in init_idle_thread()
618 _kernel.cpus[id].usage->track_usage = in z_init_cpu()
645 * the init and idle threads and any architecture-specific initialization.
664 * - the cache can never be NULL in prepare_multithreading()
665 * - the main thread will be the one to run first in prepare_multithreading()
666 * - no other thread is initialized yet and thus their priority fields in prepare_multithreading()
714 /* Try to see if driver provides an ISR-specific API */ in z_early_rand_get()
717 length -= rc; in z_early_rand_get()
732 length -= rc; in z_early_rand_get()
742 * processor must be running in 32-bit mode, and the BSS must have been
751 /* gcov hook needed to get the coverage report.*/ in z_cstart()
757 /* perform any architecture-specific initialization */ in z_cstart()
798 /* Custom ARCH-specific routine to switch to main() in z_cstart()
799 * in the case of no multi-threading. in z_cstart()
807 * We've already dumped coverage data at this point. in z_cstart()