mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 23:51:56 +00:00
Because errno.h is defined in terms of a syscall we can get into trouble when one syscall/<FOO.h> ends up include another syscall/<BAR.h>. Moving errno.h from kernel_includes.h to kernel.h breaks the possible inclusion issue on some ARM platforms (which arm_mpu.h ends up include soc.h which ends up include kernel_includes.h which would include errno.h). Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
38 lines
739 B
C
38 lines
739 B
C
/*
|
|
* Copyright (c) 2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
*
|
|
* @brief Header files included by kernel.h.
|
|
*/
|
|
|
|
#ifndef _KERNEL_INCLUDES__H
|
|
#define _KERNEL_INCLUDES__H
|
|
|
|
#include <stddef.h>
|
|
#include <zephyr/types.h>
|
|
#include <limits.h>
|
|
#include <toolchain.h>
|
|
#include <linker/sections.h>
|
|
#include <atomic.h>
|
|
#include <misc/__assert.h>
|
|
#include <sched_priq.h>
|
|
#include <misc/dlist.h>
|
|
#include <misc/slist.h>
|
|
#include <misc/sflist.h>
|
|
#include <misc/util.h>
|
|
#include <misc/mempool_base.h>
|
|
#include <kernel_version.h>
|
|
#include <random/rand32.h>
|
|
#include <kernel_arch_thread.h>
|
|
#include <syscall.h>
|
|
#include <misc/printk.h>
|
|
#include <arch/cpu.h>
|
|
#include <misc/rb.h>
|
|
|
|
#endif /* _KERNEL_INCLUDES__H */
|