kernel: remove nano/micro wording and usage
Also remove some old cflags referencing directories that do not exist anymore. Also replace references to legacy APIs in doxygen documentation of various functions. Change-Id: I8fce3d1fe0f4defc44e6eb0ae09a4863e33a39db Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
c1f2e26584
commit
cb888e6805
30 changed files with 68 additions and 88 deletions
|
@ -68,7 +68,7 @@ SECTION_FUNC(TEXT, _CpuIdleInit)
|
|||
*
|
||||
* @brief Get the kernel idle setting
|
||||
*
|
||||
* Returns the nanokernel idle setting, in ticks. Only called by __systick().
|
||||
* Returns the kernel idle setting, in ticks. Only called by __systick().
|
||||
*
|
||||
* @return the requested number of ticks for the kernel to be idle
|
||||
*
|
||||
|
@ -86,7 +86,7 @@ SECTION_FUNC(TEXT, _NanoIdleValGet)
|
|||
*
|
||||
* @brief Clear the kernel idle setting
|
||||
*
|
||||
* Sets the nanokernel idle setting to 0. Only called by __systick().
|
||||
* Sets the kernel idle setting to 0. Only called by __systick().
|
||||
*
|
||||
* @return N/A
|
||||
*
|
||||
|
@ -107,8 +107,8 @@ SECTION_FUNC(TEXT, _NanoIdleValClear)
|
|||
*
|
||||
* @brief Power save idle routine for ARM Cortex-M
|
||||
*
|
||||
* This function will be called by the nanokernel idle loop or possibly within
|
||||
* an implementation of _sys_power_save_idle in the microkernel when the
|
||||
* This function will be called by the ernel idle loop or possibly within
|
||||
* an implementation of _sys_power_save_idle in the kernel when the
|
||||
* '_sys_power_save_flag' variable is non-zero. The ARM 'wfi' instruction
|
||||
* will be issued, causing a low-power consumption sleep mode.
|
||||
*
|
||||
|
@ -143,16 +143,12 @@ SECTION_FUNC(TEXT, k_cpu_idle)
|
|||
*
|
||||
* @brief Atomically re-enable interrupts and enter low power mode
|
||||
*
|
||||
* This function is utilized by the nanokernel object "wait" APIs for tasks,
|
||||
* e.g. nano_task_lifo_get(), nano_task_sem_take(),
|
||||
* nano_task_stack_pop(), and nano_task_fifo_get().
|
||||
*
|
||||
* INTERNAL
|
||||
* The requirements for k_cpu_atomic_idle() are as follows:
|
||||
* 1) The enablement of interrupts and entering a low-power mode needs to be
|
||||
* atomic, i.e. there should be no period of time where interrupts are
|
||||
* enabled before the processor enters a low-power mode. See the comments
|
||||
* in nano_task_lifo_get(), for example, of the race condition that occurs
|
||||
* in k_lifo_get(), for example, of the race condition that occurs
|
||||
* if this requirement is not met.
|
||||
*
|
||||
* 2) After waking up from the low-power mode, the interrupt lockout state
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
/**
|
||||
* @file
|
||||
* @brief Nanokernel fatal error handler for ARM Cortex-M
|
||||
* @brief Kernel fatal error handler for ARM Cortex-M
|
||||
*
|
||||
* This module provides the _NanoFatalErrorHandler() routine for ARM Cortex-M.
|
||||
*/
|
||||
|
@ -60,7 +60,7 @@ const NANO_ESF _default_esf = {
|
|||
|
||||
/**
|
||||
*
|
||||
* @brief Nanokernel fatal error handler
|
||||
* @brief Kernel fatal error handler
|
||||
*
|
||||
* This routine is called when fatal error conditions are detected by software
|
||||
* and is responsible only for reporting the error. Once reported, it then
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
* @file
|
||||
* @brief ARM Cortex-M interrupt initialization
|
||||
*
|
||||
* The ARM Cortex-M architecture provides its own fiber_abort() to deal with
|
||||
* The ARM Cortex-M architecture provides its own k_thread_abort() to deal with
|
||||
* different CPU modes (handler vs thread) when a fiber aborts. When its entry
|
||||
* point returns or when it aborts itself, the CPU is in thread mode and must
|
||||
* call _Swap() (which triggers a service call), but when in handler mode, the
|
||||
|
|
|
@ -16,15 +16,14 @@
|
|||
|
||||
/**
|
||||
* @file
|
||||
* @brief ARM nano kernel structure member offset definition file
|
||||
* @brief ARM kernel structure member offset definition file
|
||||
*
|
||||
* This module is responsible for the generation of the absolute symbols whose
|
||||
* value represents the member offsets for various ARM nanokernel
|
||||
* structures.
|
||||
* value represents the member offsets for various ARM kernel structures.
|
||||
*
|
||||
* All of the absolute symbols defined by this module will be present in the
|
||||
* final microkernel or nanokernel ELF image (due to the linker's reference to
|
||||
* the _OffsetAbsSyms symbol).
|
||||
* final kernel ELF image (due to the linker's reference to the _OffsetAbsSyms
|
||||
* symbol).
|
||||
*
|
||||
* INTERNAL
|
||||
* It is NOT necessary to define the offset for every member of a structure.
|
||||
|
|
|
@ -243,7 +243,7 @@ _context_switch:
|
|||
*
|
||||
* @brief Initiate a cooperative context switch
|
||||
*
|
||||
* The _Swap() routine is invoked by various nanokernel services to effect
|
||||
* The _Swap() routine is invoked by various kernel services to effect
|
||||
* a cooperative context context switch. Prior to invoking _Swap(), the caller
|
||||
* disables interrupts via irq_lock() and the return 'key' is passed as a
|
||||
* parameter to _Swap(). The 'key' actually represents the BASEPRI register
|
||||
|
|
|
@ -18,12 +18,10 @@
|
|||
* @file
|
||||
* @brief New thread creation for ARM Cortex-M
|
||||
*
|
||||
* Core nanokernel fiber related primitives for the ARM Cortex-M processor
|
||||
* architecture.
|
||||
* Core thread related primitives for the ARM Cortex-M processor architecture.
|
||||
*/
|
||||
|
||||
#include <nanokernel.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <toolchain.h>
|
||||
#include <kernel_structs.h>
|
||||
#include <wait_q.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue