z8Encore! integrated on simulator

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@727 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-03-09 14:49:22 +00:00
parent a8bfe6bcae
commit bb5dcd99b7
2 changed files with 4 additions and 5 deletions

View File

@ -96,7 +96,7 @@ FAR chipreg_t *up_doirq(ubyte irq, FAR chipreg_t *regs)
regs = IRQ_STATE();
/* Indicate that we are no long in interrupt processing logic */
/* Indicate that we are no longer in interrupt processing logic */
IRQ_LEAVE(irq);
}

View File

@ -97,8 +97,7 @@ _z8_restorecontext:
ldx r7, 3(rr0)
/* Copy all registers into the user register area. NOTE: we
* should use the saved RP value to determine the destination
* address
* use the saved RP value to determine the destination adress.
*/
clr r0 /* rr0 = destination address */
@ -130,8 +129,8 @@ _z8_restore:
/* Recover the flags and RP settings.. but don't restore them yet */
ldx r1, XCPT_FLAGS_OFFS(rr0)
ldx r2, XCPT_RP_OFFS(rr0)
ldx r1, XCPT_FLAGS_OFFS(rr6)
ldx r2, XCPT_RP_OFFS(rr6)
/* Determine whether interrupts must be enabled on return. This
* would be nicer to do below, but later we will need to preserve