2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* irq/irq.c: Define loopCounter iff DISPATCH_HANDLER_STAT is set.
	* startup/bspstart.c: include <bsp/irq.h>, <libcpu/cpuIdent.h>,
	<rtems/bspIo.h>
This commit is contained in:
Joel Sherrill
2002-04-17 13:30:27 +00:00
parent 53eb191abe
commit 1d8d3b2730
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* irq/irq.c: Define loopCounter iff DISPATCH_HANDLER_STAT is set.
* startup/bspstart.c: include <bsp/irq.h>, <libcpu/cpuIdent.h>,
<rtems/bspIo.h>
2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add BSPOPTS_*(DISPATCH_HANDLER_STAT).

View File

@@ -401,8 +401,9 @@ void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
register unsigned oldMask; /* old siu pic masks */
register unsigned msr;
register unsigned new_msr;
#ifdef DISPATCH_HANDLER_STAT
unsigned loopCounter;
#endif
/*
* Handle decrementer interrupt
*/