URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [m68k/] [ods68302/] [timer/] [timerisr.S] - Rev 385
Go to most recent revision | Compare with Previous | Blame | View Log
/** Handle 68302 TIMER2 interrupts.** All code in this routine is pure overhead which can perturb the* accuracy of RTEMS' timing test suite.** See also: Read_timer()** To reduce overhead this is best to be the "rawest" hardware interupt* handler you can write. This should be the only interrupt which can* occur during the measured time period.** An external counter, Timer_interrupts, is incremented.** $Id: timerisr.S,v 1.2 2001-09-27 12:00:23 chris Exp $*/#include "asm.h"BEGIN_CODEPUBLIC(timerisr)SYM(timerisr):move.w #0x0040,SYM(m302)+2072 | clear interrupt in-service bitmove.b #3,SYM(m302)+2137 | clear timer interrupt event registeraddq.l #1,SYM(Timer_interrupts) | increment timer valuerteEND_CODEEND
Go to most recent revision | Compare with Previous | Blame | View Log
