kernel: remove last nanokernel ocrrurances from include/
Jira: ZEP-1323 Change-Id: I32e2dc33406a74c2e592bb2df215bd9170bf286d Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
953f7ae45d
commit
ea8c6aad24
24 changed files with 37 additions and 35 deletions
|
@ -16,11 +16,11 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* @brief ARC specific nanokernel interface header
|
* @brief ARC specific kernel interface header
|
||||||
*
|
*
|
||||||
* This header contains the ARC specific nanokernel interface. It is
|
* This header contains the ARC specific kernel interface. It is
|
||||||
* included by the nanokernel interface architecture-abstraction header
|
* included by the kernel interface architecture-abstraction header
|
||||||
* (nanokernel/cpu.h)
|
* include/arch/cpu.h)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ARC_ARCH__H_
|
#ifndef _ARC_ARCH__H_
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* @file
|
* @file
|
||||||
* @brief ARCv2 public error handling
|
* @brief ARCv2 public error handling
|
||||||
*
|
*
|
||||||
* ARC-specific nanokernel error handling interface. Included by ARC/arch.h.
|
* ARC-specific kernel error handling interface. Included by arc/arch.h.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ARCH_ARC_V2_ERROR_H_
|
#ifndef _ARCH_ARC_V2_ERROR_H_
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* @file
|
* @file
|
||||||
* @brief ARCv2 public exception handling
|
* @brief ARCv2 public exception handling
|
||||||
*
|
*
|
||||||
* ARC-specific nanokernel exception handling interface. Included by ARC/arch.h.
|
* ARC-specific kernel exception handling interface. Included by arc/arch.h.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ARCH_ARC_V2_EXC_H_
|
#ifndef _ARCH_ARC_V2_EXC_H_
|
||||||
|
|
|
@ -16,9 +16,9 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* @brief ARCv2 public nanokernel find-first-set interface
|
* @brief ARCv2 public kernel find-first-set interface
|
||||||
*
|
*
|
||||||
* ARC-specific nanokernel ffs interface. Included by ARC/arch.h.
|
* ARC-specific kernel ffs interface. Included by arc/arch.h.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ARCH_ARC_V2_FFS_H_
|
#ifndef _ARCH_ARC_V2_FFS_H_
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* @file
|
* @file
|
||||||
* @brief ARCv2 public interrupt handling
|
* @brief ARCv2 public interrupt handling
|
||||||
*
|
*
|
||||||
* ARCv2 nanokernel interrupt handling interface. Included by ARC/v2/arch.h.
|
* ARCv2 kernel interrupt handling interface. Included by arc/arch.h.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ARCH_ARC_V2_IRQ__H_
|
#ifndef _ARCH_ARC_V2_IRQ__H_
|
||||||
|
|
|
@ -16,9 +16,9 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* @brief ARCv2 public nanokernel miscellaneous
|
* @brief ARCv2 public kernel miscellaneous
|
||||||
*
|
*
|
||||||
* ARC-specific nanokernel miscellaneous interface. Included by arc/arch.h.
|
* ARC-specific kernel miscellaneous interface. Included by arc/arch.h.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ARCH_ARC_V2_MISC_H_
|
#ifndef _ARCH_ARC_V2_MISC_H_
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* @brief ARM specific nanokernel interface header
|
* @brief ARM specific kernel interface header
|
||||||
*
|
*
|
||||||
* This header contains the ARM specific nanokernel interface. It is
|
* This header contains the ARM specific kernel interface. It is
|
||||||
* included by the nanokernel interface architecture-abstraction header
|
* included by the kernel interface architecture-abstraction header
|
||||||
* (nanokernel/cpu.h)
|
* (include/arc/cpu.h)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ARM_ARCH__H_
|
#ifndef _ARM_ARCH__H_
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* @file
|
* @file
|
||||||
* @brief Cortex-M public error handling
|
* @brief Cortex-M public error handling
|
||||||
*
|
*
|
||||||
* ARM-specific nanokernel error handling interface. Included by ARM/arch.h.
|
* ARM-specific kernel error handling interface. Included by arm/arch.h.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ARCH_ARM_CORTEXM_ERROR_H_
|
#ifndef _ARCH_ARM_CORTEXM_ERROR_H_
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* @file
|
* @file
|
||||||
* @brief Cortex-M public exception handling
|
* @brief Cortex-M public exception handling
|
||||||
*
|
*
|
||||||
* ARM-specific nanokernel exception handling interface. Included by ARM/arch.h.
|
* ARM-specific kernel exception handling interface. Included by arm/arch.h.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ARCH_ARM_CORTEXM_EXC_H_
|
#ifndef _ARCH_ARM_CORTEXM_EXC_H_
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* @file
|
* @file
|
||||||
* @brief Cortex-M public interrupt handling
|
* @brief Cortex-M public interrupt handling
|
||||||
*
|
*
|
||||||
* ARM-specific nanokernel interrupt handling interface. Included by ARM/arch.h.
|
* ARM-specific kernel interrupt handling interface. Included by arm/arch.h.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ARCH_ARM_CORTEXM_IRQ_H_
|
#ifndef _ARCH_ARM_CORTEXM_IRQ_H_
|
||||||
|
|
|
@ -16,9 +16,9 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* @brief Cortex-M public nanokernel miscellaneous
|
* @brief Cortex-M public kernel miscellaneous
|
||||||
*
|
*
|
||||||
* ARM-specific nanokernel miscellaneous interface. Included by ARM/arch.h.
|
* ARM-specific kernel miscellaneous interface. Included by arm/arch.h.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ARCH_ARM_CORTEXM_MISC_H_
|
#ifndef _ARCH_ARM_CORTEXM_MISC_H_
|
||||||
|
|
|
@ -54,7 +54,7 @@ extern "C" {
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <kernel.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
#include <arch/arm/cortex_m/scs.h>
|
#include <arch/arm/cortex_m/scs.h>
|
||||||
|
|
|
@ -67,7 +67,7 @@ extern "C" {
|
||||||
|
|
||||||
#else /* _ASMLANGUAGE */
|
#else /* _ASMLANGUAGE */
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <kernel.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
@ -16,9 +16,9 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* @brief Nios II specific nanokernel interface header
|
* @brief Nios II specific kernel interface header
|
||||||
* This header contains the Nios II specific nanokernel interface. It is
|
* This header contains the Nios II specific kernel interface. It is
|
||||||
* included by the generic nanokernel interface header (nanokernel.h)
|
* included by the generic kernel interface header (include/arch/cpu.h)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ARCH_IFACE_H
|
#ifndef _ARCH_IFACE_H
|
||||||
|
|
|
@ -16,9 +16,9 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* @brief IA-32 specific nanokernel interface header
|
* @brief IA-32 specific kernel interface header
|
||||||
* This header contains the IA-32 specific nanokernel interface. It is included
|
* This header contains the IA-32 specific kernel interface. It is included
|
||||||
* by the generic nanokernel interface header (nanokernel.h)
|
* by the generic kernel interface header (include/arch/cpu.h)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ARCH_IFACE_H
|
#ifndef _ARCH_IFACE_H
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
* the Zephyr Kernel image. If a symbol is used but not defined the linker will
|
* the Zephyr Kernel image. If a symbol is used but not defined the linker will
|
||||||
* emit an undefined symbol error.
|
* emit an undefined symbol error.
|
||||||
*
|
*
|
||||||
* Please do not change the order of the section as the nanokernel expects this
|
* Please do not change the order of the section as the kernel expects this
|
||||||
* order when programming the MMU.
|
* order when programming the MMU.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef _cache__h_
|
#ifndef _cache__h_
|
||||||
#define _cache__h_
|
#define _cache__h_
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <kernel.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <kernel.h>
|
||||||
|
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <kernel.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
#include <misc/dlist.h>
|
#include <misc/dlist.h>
|
||||||
#include <misc/slist.h>
|
#include <misc/slist.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
|
#include <kernel_version.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
#include <drivers/rand32.h>
|
||||||
|
|
||||||
/* nanokernel/microkernel execution context types */
|
/* nanokernel/microkernel execution context types */
|
||||||
#define NANO_CTX_ISR (K_ISR)
|
#define NANO_CTX_ISR (K_ISR)
|
||||||
|
|
|
@ -30,7 +30,7 @@ extern "C" {
|
||||||
|
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <kernel.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <misc/ring_buffer.h>
|
#include <misc/ring_buffer.h>
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ifndef __RING_BUFFER_H__
|
#ifndef __RING_BUFFER_H__
|
||||||
#define __RING_BUFFER_H__
|
#define __RING_BUFFER_H__
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <kernel.h>
|
||||||
#include <debug/object_tracing_common.h>
|
#include <debug/object_tracing_common.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <kernel.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue