z8f should use up_maskack_irq

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@697 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-02-16 22:23:45 +00:00
parent fb76a5e579
commit 7629c2c811
2 changed files with 4 additions and 1 deletions

View File

@ -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
}

View File

@ -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) */