Rename nanokernel's nanok.h to nano_private.h
The new name better reflects that this file contains all private nanokernel APIs that are used by various kernel subsystems. Change-Id: I4c258d582e93753eec9e575fdb5f9f2109417a0f Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
96d746d3c1
commit
c29d41cab7
63 changed files with 77 additions and 77 deletions
|
@ -39,7 +39,7 @@
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <wait_q.h>
|
#include <wait_q.h>
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ CPU power management routines.
|
||||||
|
|
||||||
#define _ASMLANGUAGE
|
#define _ASMLANGUAGE
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
|
@ -39,7 +39,7 @@ See isr_wrapper.S for details.
|
||||||
|
|
||||||
#define _ASMLANGUAGE
|
#define _ASMLANGUAGE
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
|
@ -36,7 +36,7 @@ This module implements the routines necessary for handling fatal faults on
|
||||||
ARCv2 CPUs.
|
ARCv2 CPUs.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
|
|
||||||
#ifdef CONFIG_PRINTK
|
#ifdef CONFIG_PRINTK
|
||||||
#include <misc/printk.h>
|
#include <misc/printk.h>
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
#define _ASMLANGUAGE
|
#define _ASMLANGUAGE
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
|
@ -43,7 +43,7 @@ a parameter.
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <sw_isr_table.h>
|
#include <sw_isr_table.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
||||||
GTEXT(_isr_enter)
|
GTEXT(_isr_enter)
|
||||||
|
|
|
@ -49,7 +49,7 @@ completeness.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <genOffset.h>
|
#include <genOffset.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <offsets/common.h>
|
#include <offsets/common.h>
|
||||||
|
|
||||||
/* ARCv2-specific tCCS structure member offsets */
|
/* ARCv2-specific tCCS structure member offsets */
|
||||||
|
|
|
@ -40,7 +40,7 @@ See isr_wrapper.S for details.
|
||||||
|
|
||||||
#define _ASMLANGUAGE
|
#define _ASMLANGUAGE
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
|
@ -40,7 +40,7 @@ See isr_wrapper.S for details.
|
||||||
|
|
||||||
#define _ASMLANGUAGE
|
#define _ASMLANGUAGE
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#ifndef _SWAP_MACROS__H_
|
#ifndef _SWAP_MACROS__H_
|
||||||
#define _SWAP_MACROS__H_
|
#define _SWAP_MACROS__H_
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* nanok.h - private nanokernel definitions */
|
/* nano_private.h - private nanokernel definitions */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
* Copyright (c) 2014 Wind River Systems, Inc.
|
||||||
|
@ -41,8 +41,8 @@ source files obtains structure offset values via "absolute symbols" in the
|
||||||
offsets.o module.
|
offsets.o module.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _NANOK__H_
|
#ifndef _NANO_PRIVATE_H
|
||||||
#define _NANOK__H_
|
#define _NANO_PRIVATE_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -286,4 +286,4 @@ static inline void _IntLibInit(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _NANOK__H_ */
|
#endif /* _NANO_PRIVATE_H */
|
|
@ -41,7 +41,7 @@ DESCRIPTION
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#ifdef CONFIG_TICKLESS_IDLE
|
#ifdef CONFIG_TICKLESS_IDLE
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
|
@ -40,7 +40,7 @@ wrapped around by _isr_wrapper()).
|
||||||
|
|
||||||
#define _ASMLANGUAGE
|
#define _ASMLANGUAGE
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
|
@ -39,7 +39,7 @@ Common fault handler for ARM Cortex-M processors.
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
|
|
||||||
#ifdef CONFIG_PRINTK
|
#ifdef CONFIG_PRINTK
|
||||||
#include <misc/printk.h>
|
#include <misc/printk.h>
|
||||||
|
|
|
@ -46,7 +46,7 @@ anymore.
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
|
@ -43,7 +43,7 @@ a parameter.
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <sw_isr_table.h>
|
#include <sw_isr_table.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
|
@ -45,7 +45,7 @@ the PendSV exception.
|
||||||
#include <micro_private_types.h>
|
#include <micro_private_types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
|
|
|
@ -39,7 +39,7 @@ architecture.
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <wait_q.h>
|
#include <wait_q.h>
|
||||||
|
|
||||||
tNANO _nanokernel = {0};
|
tNANO _nanokernel = {0};
|
||||||
|
|
|
@ -39,7 +39,7 @@ This module provides the _NanoFatalErrorHandler() routine for ARM Cortex-M.
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
|
|
||||||
#ifdef CONFIG_PRINTK
|
#ifdef CONFIG_PRINTK
|
||||||
#include <misc/printk.h>
|
#include <misc/printk.h>
|
||||||
|
|
|
@ -49,7 +49,7 @@ completeness.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <genOffset.h>
|
#include <genOffset.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <offsets/common.h>
|
#include <offsets/common.h>
|
||||||
|
|
||||||
/* ARM-specific tNANO structure member offsets */
|
/* ARM-specific tNANO structure member offsets */
|
||||||
|
|
|
@ -38,7 +38,7 @@ on ARM Cortex-M3/M4 CPUs.
|
||||||
|
|
||||||
#define _ASMLANGUAGE
|
#define _ASMLANGUAGE
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
|
@ -45,7 +45,7 @@ PendSV exception and cause the immediate context switch to K_swapper.
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <micro_private.h>
|
#include <micro_private.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <microkernel.h>
|
#include <microkernel.h>
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
|
|
@ -38,7 +38,7 @@ Stack helper functions.
|
||||||
#ifndef _ARM_CORTEXM_STACK__H_
|
#ifndef _ARM_CORTEXM_STACK__H_
|
||||||
#define _ARM_CORTEXM_STACK__H_
|
#define _ARM_CORTEXM_STACK__H_
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <asm_inline.h>
|
#include <asm_inline.h>
|
||||||
|
|
||||||
#ifdef CONFIG_STACK_GROWS_DOWN
|
#ifdef CONFIG_STACK_GROWS_DOWN
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* nanok.h - private nanokernel definitions (ARM) */
|
/* nano_private.h - private nanokernel definitions (ARM) */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2013-2014 Wind River Systems, Inc.
|
* Copyright (c) 2013-2014 Wind River Systems, Inc.
|
||||||
|
@ -41,8 +41,8 @@ source files obtains structure offset values via "absolute symbols" in the
|
||||||
offsets.o module.
|
offsets.o module.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _NANOK__H_
|
#ifndef _NANO_PRIVATE_H
|
||||||
#define _NANOK__H_
|
#define _NANO_PRIVATE_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -219,4 +219,4 @@ extern void _IntLibInit(void);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _NANOK__H_ */
|
#endif /* _NANO_PRIVATE_H */
|
|
@ -44,7 +44,7 @@ Currently empty, only here for abstraction.
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
||||||
#include <micro_private.h>
|
#include <micro_private.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <microkernel/task.h>
|
#include <microkernel/task.h>
|
||||||
|
|
||||||
#define _START_TASK_ARCH(pKproc, pOpt) \
|
#define _START_TASK_ARCH(pKproc, pOpt) \
|
||||||
|
|
|
@ -73,12 +73,12 @@ an error code is present on the stack or not.
|
||||||
|
|
||||||
NOTE: Be sure to update the arch specific definition of the _EXC_STUB_SIZE
|
NOTE: Be sure to update the arch specific definition of the _EXC_STUB_SIZE
|
||||||
macro to reflect the size of the full exception stub (as shown above).
|
macro to reflect the size of the full exception stub (as shown above).
|
||||||
The _EXC_STUB_SIZE macro is defined in arch/x86/include/nanok.h.
|
The _EXC_STUB_SIZE macro is defined in arch/x86/include/nano_private.h.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
|
|
||||||
|
|
||||||
void _NanoCpuExcConnectAtDpl(unsigned int vector,
|
void _NanoCpuExcConnectAtDpl(unsigned int vector,
|
||||||
|
@ -113,7 +113,7 @@ void _NanoCpuExcConnectAtDpl(unsigned int vector,
|
||||||
* RETURNS: N/A
|
* RETURNS: N/A
|
||||||
*
|
*
|
||||||
* INTERNAL
|
* INTERNAL
|
||||||
* The function prototype for nanoCpuExcConnect() only exists in nanok.h,
|
* The function prototype for nanoCpuExcConnect() only exists in nano_private.h,
|
||||||
* in other words, it's still considered private since the definitions for
|
* in other words, it's still considered private since the definitions for
|
||||||
* the NANO_ESF structures have not been completed.
|
* the NANO_ESF structures have not been completed.
|
||||||
*/
|
*/
|
||||||
|
@ -153,7 +153,7 @@ void nanoCpuExcConnect(unsigned int vector, /* interrupt vector: 0 to 255 on
|
||||||
* RETURNS: N/A
|
* RETURNS: N/A
|
||||||
*
|
*
|
||||||
* INTERNAL
|
* INTERNAL
|
||||||
* The function prototype for nanoCpuExcConnect() only exists in nanok.h,
|
* The function prototype for nanoCpuExcConnect() only exists in nano_private.h,
|
||||||
* in other words, it's still considered private since the definitions for
|
* in other words, it's still considered private since the definitions for
|
||||||
* the NANO_ESF structures have not been completed.
|
* the NANO_ESF structures have not been completed.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -40,7 +40,7 @@ and exiting a C exception handler.
|
||||||
|
|
||||||
#define _ASMLANGUAGE
|
#define _ASMLANGUAGE
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <arch/x86/asm.h>
|
#include <arch/x86/asm.h>
|
||||||
#include <arch/x86/arch.h> /* For MK_ISR_NAME */
|
#include <arch/x86/arch.h> /* For MK_ISR_NAME */
|
||||||
#include <offsets.h> /* nanokernel structure offset definitions */
|
#include <offsets.h> /* nanokernel structure offset definitions */
|
||||||
|
|
|
@ -40,7 +40,7 @@ for the IA-32 architecture.
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <gdt.h>
|
#include <gdt.h>
|
||||||
|
|
||||||
|
|
|
@ -91,7 +91,7 @@ The _INT_STUB_SIZE macro is defined in include/nanokernel/x86/arch.h.
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
|
||||||
/* the _idt_base_address symbol is generated via a linker script */
|
/* the _idt_base_address symbol is generated via a linker script */
|
||||||
|
@ -106,7 +106,7 @@ extern void _SpuriousIntNoErrCodeHandler(void *);
|
||||||
* the spurious interrupt handlers. They *must* be declared in a module other
|
* the spurious interrupt handlers. They *must* be declared in a module other
|
||||||
* than the one they are used in to get around garbage collection issues and
|
* than the one they are used in to get around garbage collection issues and
|
||||||
* warnings issued some compilers that they aren't used. Therefore care must
|
* warnings issued some compilers that they aren't used. Therefore care must
|
||||||
* be taken if they are to be moved. See nanok.h for more information.
|
* be taken if they are to be moved. See nano_private.h for more information.
|
||||||
*/
|
*/
|
||||||
void *_dummy_spurious_interrupt;
|
void *_dummy_spurious_interrupt;
|
||||||
void *_dummy_exception_vector_stub;
|
void *_dummy_exception_vector_stub;
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
|
|
||||||
|
|
||||||
/* the _idt_base_address symbol is generated via a linker script */
|
/* the _idt_base_address symbol is generated via a linker script */
|
||||||
|
|
|
@ -42,7 +42,7 @@ entering and exiting a C interrupt handler.
|
||||||
|
|
||||||
#ifndef CONFIG_NO_ISRS
|
#ifndef CONFIG_NO_ISRS
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <arch/x86/asm.h>
|
#include <arch/x86/asm.h>
|
||||||
#include <offsets.h> /* nanokernel structure offset definitions */
|
#include <offsets.h> /* nanokernel structure offset definitions */
|
||||||
#include <arch/cpu.h> /* _NANO_ERR_SPURIOUS_INT */
|
#include <arch/cpu.h> /* _NANO_ERR_SPURIOUS_INT */
|
||||||
|
|
|
@ -56,7 +56,7 @@ utilities.
|
||||||
* void _MsrWrite (unsigned int msr, uint64_t msrData);
|
* void _MsrWrite (unsigned int msr, uint64_t msrData);
|
||||||
*
|
*
|
||||||
* The definitions of the so-called "Architectural MSRs" are contained
|
* The definitions of the so-called "Architectural MSRs" are contained
|
||||||
* in nanok.h and have the format: IA32_XXX_MSR
|
* in nano_private.h and have the format: IA32_XXX_MSR
|
||||||
*
|
*
|
||||||
* INTERNAL
|
* INTERNAL
|
||||||
* 1) The 'wrmsr' instruction was introduced in the Pentium processor; executing
|
* 1) The 'wrmsr' instruction was introduced in the Pentium processor; executing
|
||||||
|
@ -87,7 +87,7 @@ SECTION_FUNC(TEXT, _MsrWrite)
|
||||||
* uint64_t _MsrRead (unsigned int msr);
|
* uint64_t _MsrRead (unsigned int msr);
|
||||||
*
|
*
|
||||||
* The definitions of the so-called "Architectural MSRs" are contained
|
* The definitions of the so-called "Architectural MSRs" are contained
|
||||||
* in nanok.h and have the format: IA32_XXX_MSR
|
* in nano_private.h and have the format: IA32_XXX_MSR
|
||||||
*
|
*
|
||||||
* INTERNAL
|
* INTERNAL
|
||||||
* 1) The 'rdmsr' instruction was introduced in the Pentium processor; executing
|
* 1) The 'rdmsr' instruction was introduced in the Pentium processor; executing
|
||||||
|
|
|
@ -43,7 +43,7 @@ processor architecture.
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <wait_q.h>
|
#include <wait_q.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ This module provides the _NanoFatalErrorHandler() routine.
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <misc/printk.h>
|
#include <misc/printk.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,7 @@ enable FP resource sharing on its behalf.
|
||||||
#include <micro_private_types.h>
|
#include <micro_private_types.h>
|
||||||
#endif /* CONFIG_MICROKERNEL */
|
#endif /* CONFIG_MICROKERNEL */
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <asm_inline.h>
|
#include <asm_inline.h>
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ completeness.
|
||||||
|
|
||||||
/* list of headers that define whose structure offsets will be generated */
|
/* list of headers that define whose structure offsets will be generated */
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <swapstk.h>
|
#include <swapstk.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ save frame on the stack.
|
||||||
|
|
||||||
#define _ASMLANGUAGE
|
#define _ASMLANGUAGE
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <arch/x86/asm.h>
|
#include <arch/x86/asm.h>
|
||||||
#include <offsets.h> /* nanokernel structure offset definitions */
|
#include <offsets.h> /* nanokernel structure offset definitions */
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* nanok.h - private nanokernel definitions (IA-32) */
|
/* nano_private.h - private nanokernel definitions (IA-32) */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2010-2014 Wind River Systems, Inc.
|
* Copyright (c) 2010-2014 Wind River Systems, Inc.
|
||||||
|
@ -44,8 +44,8 @@ source files obtains structure offset values via "absolute symbols" in the
|
||||||
offsets.o module.
|
offsets.o module.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _NANOK_H
|
#ifndef _NANO_PRIVATE_H
|
||||||
#define _NANOK_H
|
#define _NANO_PRIVATE_H
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
@ -900,4 +900,4 @@ static inline void _IntLibInit(void)
|
||||||
|
|
||||||
#endif /* _ASMLANGUAGE */
|
#endif /* _ASMLANGUAGE */
|
||||||
|
|
||||||
#endif /* _NANOK_H */
|
#endif /* _NANO_PRIVATE_H */
|
|
@ -42,7 +42,7 @@ Intel-specific parts of start_task(). Only FP functionality currently.
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
||||||
#include <micro_private.h>
|
#include <micro_private.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <microkernel/task.h>
|
#include <microkernel/task.h>
|
||||||
|
|
||||||
extern void _StartTaskArch(struct k_proc *, unsigned int *);
|
extern void _StartTaskArch(struct k_proc *, unsigned int *);
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <micro_private_types.h>
|
#include <micro_private_types.h>
|
||||||
#include <kernel_main.h>
|
#include <kernel_main.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
|
|
||||||
#define KERNEL_ENTRY(A) _k_task_call(A)
|
#define KERNEL_ENTRY(A) _k_task_call(A)
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ task, depending on how the kernel is configured.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <micro_private.h>
|
#include <micro_private.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include <micro_private.h>
|
#include <micro_private.h>
|
||||||
#include "nanokernel.h"
|
#include "nanokernel.h"
|
||||||
#include "nanok.h"
|
#include <nano_private.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
|
@ -53,7 +53,7 @@ a task cannot impact the operation of an IRQ object it does not own.
|
||||||
|
|
||||||
#if (CONFIG_MAX_NUM_TASK_IRQS > 0)
|
#if (CONFIG_MAX_NUM_TASK_IRQS > 0)
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <microkernel.h>
|
#include <microkernel.h>
|
||||||
#include <micro_private.h>
|
#include <micro_private.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
|
|
@ -57,7 +57,7 @@ NOMANUAL
|
||||||
|
|
||||||
#include <microkernel.h>
|
#include <microkernel.h>
|
||||||
#include <micro_private.h>
|
#include <micro_private.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
*
|
*
|
||||||
|
|
|
@ -42,7 +42,7 @@ interfering with each other.
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <micro_private.h>
|
#include <micro_private.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <microkernel.h>
|
#include <microkernel.h>
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
||||||
#include <micro_private.h>
|
#include <micro_private.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <start_task_arch.h>
|
#include <start_task_arch.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ function __stack_chk_fail and global variable __stack_chk_guard.
|
||||||
|
|
||||||
#if defined(CONFIG_STACK_CANARIES)
|
#if defined(CONFIG_STACK_CANARIES)
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ data structure.
|
||||||
#ifdef CONFIG_ADVANCED_POWER_MANAGEMENT
|
#ifdef CONFIG_ADVANCED_POWER_MANAGEMENT
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ in this file:
|
||||||
|
|
||||||
/@ include struct definitions for which offsets symbols are to be generated @/
|
/@ include struct definitions for which offsets symbols are to be generated @/
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
|
|
||||||
GEN_ABS_SYM_BEGIN (_OffsetAbsSyms) /@ the name parameter is arbitrary @/
|
GEN_ABS_SYM_BEGIN (_OffsetAbsSyms) /@ the name parameter is arbitrary @/
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#ifndef _kernel_nanokernel_include_wait_q__h_
|
#ifndef _kernel_nanokernel_include_wait_q__h_
|
||||||
#define _kernel_nanokernel_include_wait_q__h_
|
#define _kernel_nanokernel_include_wait_q__h_
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
|
|
||||||
/* reset a wait queue, call during operation */
|
/* reset a wait queue, call during operation */
|
||||||
static inline void _nano_wait_q_reset(struct _nano_queue *wait_q)
|
static inline void _nano_wait_q_reset(struct _nano_queue *wait_q)
|
||||||
|
|
|
@ -39,7 +39,7 @@ tasks or fibers.
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <misc/printk.h>
|
#include <misc/printk.h>
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
|
|
|
@ -36,7 +36,7 @@ This module provides various nanokernel fiber related primitives,
|
||||||
either in the form of an actual function or an alias to a function.
|
either in the form of an actual function or an alias to a function.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
|
@ -46,7 +46,7 @@ In some cases the compiler "alias" attribute is used to map two or more
|
||||||
APIs to the same function, since they have identical implementations.
|
APIs to the same function, since they have identical implementations.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <wait_q.h>
|
#include <wait_q.h>
|
||||||
|
|
|
@ -41,7 +41,7 @@ This module contains routines that are used to initialize the nanokernel.
|
||||||
#include <drivers/rand32.h>
|
#include <drivers/rand32.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
|
|
||||||
/* kernel build timestamp items */
|
/* kernel build timestamp items */
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ In some cases the compiler "alias" attribute is used to map two or more
|
||||||
APIs to the same function, since they have identical implementations.
|
APIs to the same function, since they have identical implementations.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <wait_q.h>
|
#include <wait_q.h>
|
||||||
|
|
|
@ -51,7 +51,7 @@ In some cases the compiler "alias" attribute is used to map two or more
|
||||||
APIs to the same function, since they have identical implementations.
|
APIs to the same function, since they have identical implementations.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <wait_q.h>
|
#include <wait_q.h>
|
||||||
|
|
|
@ -46,7 +46,7 @@ In some cases the compiler "alias" attribute is used to map two or more
|
||||||
APIs to the same function, since they have identical implementations.
|
APIs to the same function, since they have identical implementations.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <wait_q.h>
|
#include <wait_q.h>
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
|
|
||||||
struct nano_timer *_nano_timer_list = NULL;
|
struct nano_timer *_nano_timer_list = NULL;
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ Ensures interrupt and exception stubs are installed correctly.
|
||||||
|
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
#include <test_asm_inline_gcc.h>
|
#include <test_asm_inline_gcc.h>
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -43,7 +43,7 @@ testing.
|
||||||
/* IA-32 specific */
|
/* IA-32 specific */
|
||||||
|
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <arch/x86/asm.h>
|
#include <arch/x86/asm.h>
|
||||||
#include <asmPrv.h>
|
#include <asmPrv.h>
|
||||||
#include <asm_inline.h>
|
#include <asm_inline.h>
|
||||||
|
|
|
@ -42,7 +42,7 @@ This module tests the following CPU and context related routines:
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <tc_util.h>
|
#include <tc_util.h>
|
||||||
#include <nanok.h>
|
#include <nano_private.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
||||||
/* test uses 1 software IRQs */
|
/* test uses 1 software IRQs */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue