c4f7faea10
Unit tests were failing to build because random header was included by kernel_includes.h. The problem is that rand32.h includes a generated file that is either not generated or not included when building unit tests. Also, it is better to limit the scope of this file to where it is used. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
47 lines
957 B
C
47 lines
957 B
C
/*
|
|
* Copyright (c) 2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
*
|
|
* @brief Header files included by kernel.h.
|
|
*/
|
|
|
|
#ifndef ZEPHYR_INCLUDE_KERNEL_INCLUDES_H_
|
|
#define ZEPHYR_INCLUDE_KERNEL_INCLUDES_H_
|
|
|
|
#include <stddef.h>
|
|
#include <zephyr/types.h>
|
|
#include <limits.h>
|
|
#include <toolchain.h>
|
|
#include <linker/sections.h>
|
|
#include <sys/atomic.h>
|
|
#include <sys/__assert.h>
|
|
#include <sched_priq.h>
|
|
#include <sys/dlist.h>
|
|
#include <sys/slist.h>
|
|
#include <sys/sflist.h>
|
|
#include <sys/util.h>
|
|
#include <sys/mempool_base.h>
|
|
#include <kernel_structs.h>
|
|
#ifdef CONFIG_MEM_POOL_HEAP_BACKEND
|
|
#include <mempool_heap.h>
|
|
#else
|
|
#include <mempool_sys.h>
|
|
#endif
|
|
#include <kernel_version.h>
|
|
#include <syscall.h>
|
|
#include <sys/printk.h>
|
|
#include <arch/cpu.h>
|
|
#include <sys/rb.h>
|
|
#include <sys_clock.h>
|
|
#include <spinlock.h>
|
|
#include <fatal.h>
|
|
#include <irq.h>
|
|
#include <sys/thread_stack.h>
|
|
|
|
#endif /* ZEPHYR_INCLUDE_KERNEL_INCLUDES_H_ */
|