kernel: replace all remaining nanokernel occurances

replace include <nanokernel.h> with <kernel.h> everywhere and also fix
any remaining mentions of nanokernel.

Keep the legacy samples/tests as is.

Change-Id: Iac48447bd191e83f21a719c69dc26233216d08dc
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-12-23 08:35:34 -05:00
parent ea8c6aad24
commit c1347b4730
57 changed files with 59 additions and 62 deletions

View file

@ -252,7 +252,6 @@ S: Supported
F: kernel/
F: include/nanokernel.h
F: include/microkernel.h
F: include/microkernel/
F: include/misc/
F: include/toolchain/
F: include/atomic.h
@ -357,8 +356,8 @@ F: arch/x86/core/crt0.S
F: include/device.h
F: include/init.h
F: include/power.h
F: kernel/microkernel/k_idle.c
F: kernel/nanokernel/device.c
F: kernel/k_idle.c
F: kernel/device.c
F: samples/power/
QMSI

View file

@ -23,7 +23,7 @@
* This module contains functions for manipulation of the d-cache.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/util.h>
#include <toolchain.h>

View file

@ -25,7 +25,7 @@
#include <sections.h>
#include <inttypes.h>
#include <nanokernel.h>
#include <kernel.h>
#include <kernel_structs.h>
#ifdef CONFIG_PRINTK

View file

@ -27,7 +27,7 @@
* number from 16 to last IRQ number on the platform.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/__assert.h>
#include <toolchain.h>

View file

@ -18,7 +18,7 @@
* @file Software interrupts utility code - ARC implementation
*/
#include <nanokernel.h>
#include <kernel.h>
#include <irq_offload.h>
static irq_offload_routine_t offload_routine;

View file

@ -21,7 +21,7 @@
* This module provides the _SysFatalErrorHandler() routine for ARCv2 BSPs.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <toolchain.h>
#include <sections.h>
#include <kernel_structs.h>

View file

@ -21,7 +21,7 @@
* Core thread related primitives for the ARCv2 processor architecture.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <toolchain.h>
#include <kernel_structs.h>
#include <offsets_short.h>

View file

@ -21,7 +21,7 @@
* for the Quark SE platform.
*/
#include <nanokernel.h>
#include <kernel.h>
#include "soc.h"
#include <init.h>
#include <quark_se/shared_mem.h>

View file

@ -18,7 +18,7 @@
* @file exception related routines
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <inttypes.h>

View file

@ -23,7 +23,7 @@
* custom run time handler.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/printk.h>
#include <misc/reboot.h>

View file

@ -26,7 +26,7 @@
* initialization is performed.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <stdint.h>
#include <toolchain.h>
#include <linker-defs.h>

View file

@ -24,7 +24,7 @@
* definitions and more complex routines, if needed.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/util.h>

View file

@ -23,7 +23,7 @@
* definitions and more complex routines, if needed.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <toolchain.h>
#include <sections.h>

View file

@ -25,7 +25,7 @@
#include <sections.h>
#include <inttypes.h>
#include <nanokernel.h>
#include <kernel.h>
#include <kernel_structs.h>
#ifdef CONFIG_PRINTK

View file

@ -24,7 +24,7 @@
#include <toolchain.h>
#include <sections.h>
#include <nanokernel.h>
#include <kernel.h>
#include <kernel_structs.h>
#include <inttypes.h>

View file

@ -28,7 +28,7 @@
#include <toolchain.h>
#include <sections.h>
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
/**

View file

@ -24,7 +24,7 @@
* connecting ISRs at runtime.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/__assert.h>
#include <toolchain.h>

View file

@ -18,7 +18,7 @@
* @file Software interrupts utility code - ARM implementation
*/
#include <nanokernel.h>
#include <kernel.h>
#include <irq_offload.h>
static irq_offload_routine_t offload_routine;

View file

@ -21,7 +21,7 @@
* Core thread related primitives for the ARM Cortex-M processor architecture.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <toolchain.h>
#include <kernel_structs.h>
#include <wait_q.h>

View file

@ -22,7 +22,7 @@
* for the ARM LTD Beetle SoC.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <soc.h>

View file

@ -23,7 +23,7 @@
* for the Atmel SAM3 family processor.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <soc.h>

View file

@ -23,7 +23,7 @@
* for the Nordic Semiconductor nRF51 family processor.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <soc.h>

View file

@ -22,7 +22,7 @@
* for the Nordic Semiconductor nRF52 family processor.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <soc.h>

View file

@ -23,7 +23,7 @@
* hardware for the fsl_frdm_k64f platform.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <soc.h>

View file

@ -22,7 +22,7 @@
#include <device.h>
#include <init.h>
#include <nanokernel.h>
#include <kernel.h>
#include "soc.h"
#include <fsl_common.h>

View file

@ -19,7 +19,7 @@
* @brief System/hardware module for STM32F1 processor
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <soc.h>

View file

@ -20,7 +20,7 @@
* @brief System/hardware module for STM32F4 processor
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <soc.h>

View file

@ -20,7 +20,7 @@
* @brief System/hardware module for STM32L4 processor
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <soc.h>

View file

@ -22,7 +22,7 @@
* for the ti_lm3s6965 platform.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <soc.h>

View file

@ -21,7 +21,7 @@
#include <device.h>
#include <init.h>
#include <nanokernel.h>
#include <kernel.h>
#include "soc.h"

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <soc.h>

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <kernel_structs.h>
/**

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <kernel_structs.h>
#include <misc/printk.h>

View file

@ -21,7 +21,7 @@
*/
#include <nanokernel.h>
#include <kernel.h>
#include <kernel_structs.h>
#include <arch/cpu.h>
#include <irq.h>

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <kernel_structs.h>
#include <irq_offload.h>

View file

@ -37,7 +37,7 @@ SECTION_FUNC(exception.other, _Swap)
movhi r10, %hi(_kernel)
ori r10, r10, %lo(_kernel)
/* Get the pointer to nanokernel->current */
/* Get the pointer to kernel->current */
ldw r11, _kernel_offset_to_current(r10)
/* Store all the callee saved registers. We either got here via

View file

@ -20,7 +20,7 @@
* This module contains functions for manipulation caches.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <misc/util.h>
#include <toolchain.h>

View file

@ -22,7 +22,7 @@
* the current interrupt stack frame.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <kernel_structs.h>
NANO_ISF *sys_debug_current_isf_get(void)

View file

@ -24,7 +24,7 @@
#include <toolchain.h>
#include <sections.h>
#include <nanokernel.h>
#include <kernel.h>
#include <kernel_structs.h>
#include <misc/printk.h>
#include <arch/x86/irq_controller.h>

View file

@ -24,7 +24,7 @@
* global variable.)
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <kernel_structs.h>
#include <misc/__assert.h>

View file

@ -18,7 +18,7 @@
* @file IRQ offload - x86 implementation
*/
#include <nanokernel.h>
#include <kernel.h>
#include <irq_offload.h>
extern void (*_irq_sw_handler)(void);

View file

@ -20,7 +20,7 @@
* @details Implements the required 'arch' sub-APIs.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <misc/reboot.h>
static inline void cold_reboot(void)

View file

@ -22,7 +22,7 @@
* supported platforms.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <toolchain.h>
#include <sections.h>
#include <kernel_structs.h>

View file

@ -19,7 +19,7 @@
* x86 part of the GDB server
*/
#include <nanokernel.h>
#include <kernel.h>
#include <kernel_structs.h>
#include <string.h>
#include <debug/gdb_arch.h>

View file

@ -22,7 +22,7 @@
* for the ia32 platform.
*/
#include <nanokernel.h>
#include <kernel.h>
#include "soc.h"
#include <uart.h>
#include <device.h>

View file

@ -22,7 +22,7 @@
* for the ia32 platform.
*/
#include <nanokernel.h>
#include <kernel.h>
#include "soc.h"
#include <uart.h>
#include <device.h>

View file

@ -24,7 +24,7 @@
* with the vector of the interrupt.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <arch/x86/irq_controller.h>
#include <sys_io.h>
#include <interrupt_controller/ioapic_priv.h>

View file

@ -24,7 +24,7 @@
#include <errno.h>
#include <nanokernel.h>
#include <kernel.h>
#include <misc/printk.h>
#include <misc/__assert.h>
#include "soc.h"

View file

@ -20,7 +20,7 @@
#include <init.h>
#include "board.h"
#include <nanokernel.h>
#include <kernel.h>
#include <arch/cpu.h>
#if CONFIG_IPM_QUARK_SE

View file

@ -25,7 +25,7 @@
* Handlers for the secondary serial port have not been added.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <init.h>
#include <device.h>
#include <misc/printk.h>

View file

@ -18,7 +18,7 @@
#include <device.h>
#include <gpio.h>
#include <init.h>
#include <nanokernel.h>
#include <kernel.h>
#include <sys_io.h>
/* Driverlib includes */

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <pinmux.h>

View file

@ -20,7 +20,7 @@
* @details See misc/Kconfig and the reboot help for details.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <drivers/system_timer.h>
#include <misc/printk.h>
#include <misc/reboot.h>

View file

@ -3,9 +3,7 @@ Title: Dining Philosophers
Description:
An implementation of a solution to the Dining Philosophers problem
(a classic multi-thread synchronization problem). This particular
implementation demonstrates the usage of nanokernel semaphores and
timers from multiple (6) fibers.
(a classic multi-thread synchronization problem).
The philosopher always tries to get the lowest fork first (f1 then f2). When
done, he will give back the forks in the reverse order (f2 then f1). If he
@ -20,7 +18,7 @@ Each Philosopher will randomly alternate between the EATING and THINKING state.
Building and Running Project:
This nanokernel project outputs to the console. It can be built and executed
This project outputs to the console. It can be built and executed
on QEMU as follows:
make qemu

View file

@ -37,7 +37,7 @@
*
*/
#include <nanokernel.h>
#include <kernel.h>
#include <stdio.h>
#include <errno.h>
#include <flash.h>

View file

@ -324,7 +324,7 @@
* %CONFIG_GDB_REMOTE_SERIAL_EXT_NOTIF_PREFIX_STR:<notificationData>#<checksum>
*/
#include <nanokernel.h>
#include <kernel.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>

View file

@ -21,7 +21,7 @@
* @details See debug/Kconfig and the "Safe memory access" help for details.
*/
#include <nanokernel.h>
#include <kernel.h>
#include <init.h>
#include <errno.h>
#include <toolchain.h>