mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user