Skip to content
Snippets Groups Projects
Commit 7629c2c8 authored by patacongo's avatar patacongo
Browse files

z8f should use up_maskack_irq

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@697 42af7a65-404d-4744-a932-0658087f49c3
parent fb76a5e5
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ FAR chipreg_t *up_doirq(ubyte irq, FAR chipreg_t *regs)
#else
if (irq < NR_IRQS)
{
/* Indicate that we have enter IRQ processing logic */
/* Indicate that we have entered IRQ processing logic */
IRQ_ENTER(irq, regs);
......@@ -104,3 +104,4 @@ FAR chipreg_t *up_doirq(ubyte irq, FAR chipreg_t *regs)
return regs;
#endif
}
......@@ -116,6 +116,7 @@
do { \
g_z8irqstate.state = Z8_IRQSTATE_ENTRY; \
g_z8irqstate.regs = (regs); \
up_maskask_irq(irq); \
} while (0)
/* The following macro is used when the system exits interrupt handling logic */
......@@ -123,6 +124,7 @@
#define IRQ_LEAVE(irq) \
do { \
g_z8irqstate.state = Z8_IRQSTATE_NONE; \
up_enable_irq(irq); \
} while (0)
/* The following macro is used to sample the interrupt state (as a opaque handle) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment