Rename _IsrWrapper camelCase to _isr_wrapper
Change-Id: I217eced3965fbf313a7e0fbef38db9dd876fcf80 Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
2e0f3845f7
commit
fbb1526d1a
7 changed files with 14 additions and 14 deletions
|
@ -71,7 +71,7 @@ GTEXT(__ev_dc_error)
|
||||||
GTEXT(__ev_maligned)
|
GTEXT(__ev_maligned)
|
||||||
|
|
||||||
GTEXT(_PrepC)
|
GTEXT(_PrepC)
|
||||||
GTEXT(_IsrWrapper)
|
GTEXT(_isr_wrapper)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ GTEXT(__pendsv)
|
||||||
GTEXT(__reserved)
|
GTEXT(__reserved)
|
||||||
|
|
||||||
GTEXT(_PrepC)
|
GTEXT(_PrepC)
|
||||||
GTEXT(_IsrWrapper)
|
GTEXT(_isr_wrapper)
|
||||||
|
|
||||||
#endif /* _ASMLANGUAGE */
|
#endif /* _ASMLANGUAGE */
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ DESCRIPTION
|
||||||
|
|
||||||
Provides functions for performing kernel handling when exiting exceptions or
|
Provides functions for performing kernel handling when exiting exceptions or
|
||||||
interrupts that are installed directly in the vector table (i.e. that are not
|
interrupts that are installed directly in the vector table (i.e. that are not
|
||||||
wrapped around by _IsrWrapper()).
|
wrapped around by _isr_wrapper()).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _ASMLANGUAGE
|
#define _ASMLANGUAGE
|
||||||
|
|
|
@ -50,14 +50,14 @@ _ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
GDATA(_IsrTable)
|
GDATA(_IsrTable)
|
||||||
|
|
||||||
GTEXT(_IsrWrapper)
|
GTEXT(_isr_wrapper)
|
||||||
GTEXT(_IntExit)
|
GTEXT(_IntExit)
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
*
|
*
|
||||||
* _IsrWrapper - wrapper around ISRs when inserted in software ISR table
|
* _isr_wrapper - wrapper around ISRs when inserted in software ISR table
|
||||||
*
|
*
|
||||||
* When inserted in the vector table, _IsrWrapper() demuxes the ISR table using
|
* When inserted in the vector table, _isr_wrapper() demuxes the ISR table using
|
||||||
* the running interrupt number as the index, and invokes the registered ISR
|
* the running interrupt number as the index, and invokes the registered ISR
|
||||||
* with its correspoding argument. When returning from the ISR, it determines
|
* with its correspoding argument. When returning from the ISR, it determines
|
||||||
* if a context switch needs to happen (see documentation for __pendsv()) and
|
* if a context switch needs to happen (see documentation for __pendsv()) and
|
||||||
|
@ -66,7 +66,7 @@ GTEXT(_IntExit)
|
||||||
*
|
*
|
||||||
* RETURNS: N/A
|
* RETURNS: N/A
|
||||||
*/
|
*/
|
||||||
SECTION_FUNC(TEXT, _IsrWrapper)
|
SECTION_FUNC(TEXT, _isr_wrapper)
|
||||||
|
|
||||||
_GDB_STUB_EXC_ENTRY
|
_GDB_STUB_EXC_ENTRY
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ This file contains the IRQ part of the vector table. It is meant to be used
|
||||||
for one of two cases:
|
for one of two cases:
|
||||||
|
|
||||||
a) When software-managed ISRs (SW_ISR_TABLE) is enabled, and in that case it
|
a) When software-managed ISRs (SW_ISR_TABLE) is enabled, and in that case it
|
||||||
binds _IsrWrapper() to all the IRQ entries in the vector table.
|
binds _isr_wrapper() to all the IRQ entries in the vector table.
|
||||||
|
|
||||||
b) When the BSP is written so that device ISRs are installed directly in the
|
b) When the BSP is written so that device ISRs are installed directly in the
|
||||||
vector table, they are enumerated here.
|
vector table, they are enumerated here.
|
||||||
|
@ -50,13 +50,13 @@ b) When the BSP is written so that device ISRs are installed directly in the
|
||||||
#include <console/uart_console.h>
|
#include <console/uart_console.h>
|
||||||
#endif /* CONFIG_CONSOLE_HANDLER */
|
#endif /* CONFIG_CONSOLE_HANDLER */
|
||||||
|
|
||||||
extern void _IsrWrapper(void);
|
extern void _isr_wrapper(void);
|
||||||
typedef void (*vth)(void); /* Vector Table Handler */
|
typedef void (*vth)(void); /* Vector Table Handler */
|
||||||
|
|
||||||
#if defined(CONFIG_SW_ISR_TABLE)
|
#if defined(CONFIG_SW_ISR_TABLE)
|
||||||
|
|
||||||
vth __irq_vector_table _IrqVectorTable[CONFIG_NUM_IRQS] = {
|
vth __irq_vector_table _IrqVectorTable[CONFIG_NUM_IRQS] = {
|
||||||
[0 ...(CONFIG_NUM_IRQS - 1)] = _IsrWrapper,
|
[0 ...(CONFIG_NUM_IRQS - 1)] = _isr_wrapper,
|
||||||
};
|
};
|
||||||
|
|
||||||
#elif !defined(CONFIG_IRQ_VECTOR_TABLE_CUSTOM)
|
#elif !defined(CONFIG_IRQ_VECTOR_TABLE_CUSTOM)
|
||||||
|
|
|
@ -36,7 +36,7 @@ This file contains the IRQ part of the vector table. It is meant to be used
|
||||||
for one of two cases:
|
for one of two cases:
|
||||||
|
|
||||||
a) When software-managed ISRs (SW_ISR_TABLE) is enabled, and in that case it
|
a) When software-managed ISRs (SW_ISR_TABLE) is enabled, and in that case it
|
||||||
binds _IsrWrapper() to all the IRQ entries in the vector table.
|
binds _isr_wrapper() to all the IRQ entries in the vector table.
|
||||||
|
|
||||||
b) When the BSP is written so that device ISRs are installed directly in the
|
b) When the BSP is written so that device ISRs are installed directly in the
|
||||||
vector table, they are enumerated here.
|
vector table, they are enumerated here.
|
||||||
|
@ -50,13 +50,13 @@ b) When the BSP is written so that device ISRs are installed directly in the
|
||||||
#include <console/uart_console.h>
|
#include <console/uart_console.h>
|
||||||
#endif /* CONFIG_CONSOLE_HANDLER */
|
#endif /* CONFIG_CONSOLE_HANDLER */
|
||||||
|
|
||||||
extern void _IsrWrapper(void);
|
extern void _isr_wrapper(void);
|
||||||
typedef void (*vth)(void); /* Vector Table Handler */
|
typedef void (*vth)(void); /* Vector Table Handler */
|
||||||
|
|
||||||
#if defined(CONFIG_SW_ISR_TABLE)
|
#if defined(CONFIG_SW_ISR_TABLE)
|
||||||
|
|
||||||
vth __irq_vector_table _IrqVectorTable[CONFIG_NUM_IRQS] = {
|
vth __irq_vector_table _IrqVectorTable[CONFIG_NUM_IRQS] = {
|
||||||
[0 ...(CONFIG_NUM_IRQS - 1)] = _IsrWrapper,
|
[0 ...(CONFIG_NUM_IRQS - 1)] = _isr_wrapper,
|
||||||
};
|
};
|
||||||
|
|
||||||
#elif !defined(CONFIG_IRQ_VECTOR_TABLE_CUSTOM)
|
#elif !defined(CONFIG_IRQ_VECTOR_TABLE_CUSTOM)
|
||||||
|
|
|
@ -41,7 +41,7 @@ Data types for a software-managed ISR table, with a parameter per-ISR.
|
||||||
#if !defined(_ASMLANGUAGE)
|
#if !defined(_ASMLANGUAGE)
|
||||||
/*
|
/*
|
||||||
* Note the order: arg first, then ISR. This allows a table entry to be
|
* Note the order: arg first, then ISR. This allows a table entry to be
|
||||||
* loaded arg -> r0, isr -> r3 in _IsrWrapper with one ldmia instruction,
|
* loaded arg -> r0, isr -> r3 in _isr_wrapper with one ldmia instruction,
|
||||||
* on ARM Cortex-M (Thumb2).
|
* on ARM Cortex-M (Thumb2).
|
||||||
*/
|
*/
|
||||||
struct _IsrTableEntry {
|
struct _IsrTableEntry {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue