Call up_irqinitialize from irq subsystem

Call up_irqinitialize from irq subsystem to make the irq ready for use as soon as possible
This commit is contained in:
Xiang Xiao
2020-02-07 14:41:58 +08:00
committed by Gregory Nutt
parent 48f1793a60
commit 76bbed07a4
55 changed files with 87 additions and 177 deletions
+9 -2
View File
@@ -62,7 +62,7 @@
# define XCPTCONTEXT_REGS 6
#elif defined(CONFIG_HOST_ARM)
# define XCPTCONTEXT_REGS 16
# define XCPTCONTEXT_REGS 16
#endif
/****************************************************************************
@@ -70,7 +70,6 @@
****************************************************************************/
#ifndef __ASSEMBLY__
/* Number of registers saved in context switch */
#if defined(CONFIG_HOST_X86_64) && !defined(CONFIG_SIM_M32)
typedef unsigned long xcpt_reg_t;
@@ -94,6 +93,14 @@ struct xcptcontext
#ifndef __ASSEMBLY__
/****************************************************************************
* Name: up_irqinitialize
****************************************************************************/
static inline void up_irqinitialize(void)
{
}
/* Name: up_irq_save, up_irq_restore, and friends.
*
* NOTE: This function should never be called from application code and,