2008-03-05 Till Straumann <strauman@slac.stanford.edu>

* new-exceptions/bspsupport/ppc_exc_asm_macros.h: bugfix;
	need to andc with irq mask when disabling interrupts.
This commit is contained in:
Till Straumann
2008-03-06 00:16:52 +00:00
parent 07640857b0
commit ed5c4bd04f
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2008-03-05 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: bugfix;
need to andc with irq mask when disabling interrupts.
2008-02-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* old-exceptions/README, old-exceptions/TODO, old-exceptions/cpu.c,

View File

@@ -92,7 +92,7 @@ no_r1_reload_\FLVR:
/* disable interrupts */
lwz \RA, ppc_exc_msr_irq_mask@sdarel(r13)
mfmsr \RB
and \RA, \RB, \RA
andc \RA, \RB, \RA
mtmsr \RA
/* increment nest level */
lwz \RA, _ISR_Nest_level@sdarel(r13)