mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
2002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>
* mongoosev/include/mongoose-v.h: Added cache constants. * mongoosev/vectorisrs/vectorisrs.c: More tinkering to improve performance.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>
|
||||||
|
|
||||||
|
* mongoosev/include/mongoose-v.h: Added cache constants.
|
||||||
|
* mongoosev/vectorisrs/vectorisrs.c: More tinkering to improve
|
||||||
|
performance.
|
||||||
|
|
||||||
2002-02-08 Joel Sherrill <joel@OARcorp.com>
|
2002-02-08 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* mongoosev/vectorisrs/vectorisrs.c: Fixed to use new frame format.
|
* mongoosev/vectorisrs/vectorisrs.c: Fixed to use new frame format.
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ int mips_default_isr( int vector )
|
|||||||
mips_get_sr( sr );
|
mips_get_sr( sr );
|
||||||
mips_get_cause( cause );
|
mips_get_cause( cause );
|
||||||
|
|
||||||
sr2 = sr & ~0xff;
|
sr2 = sr & ~0xffff;
|
||||||
mips_set_sr(sr2);
|
mips_set_sr(sr2);
|
||||||
|
|
||||||
printk( "Unhandled isr exception: vector 0x%02x, cause 0x%08X, sr 0x%08X\n", vector, cause, sr );
|
printk( "Unhandled isr exception: vector 0x%02x, cause 0x%08X, sr 0x%08X\n", vector, cause, sr );
|
||||||
@@ -75,7 +75,7 @@ int assertSoftwareInterrupt( unsigned32 n )
|
|||||||
// via this #if will remove the code entirely from the RTEMS kernel.
|
// via this #if will remove the code entirely from the RTEMS kernel.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if 1
|
#if 0
|
||||||
#define SET_ISR_FLAG( offset ) *((unsigned32 *)(0x8001e000+offset)) = 1;
|
#define SET_ISR_FLAG( offset ) *((unsigned32 *)(0x8001e000+offset)) = 1;
|
||||||
#define CLR_ISR_FLAG( offset ) *((unsigned32 *)(0x8001e000+offset)) = 0;
|
#define CLR_ISR_FLAG( offset ) *((unsigned32 *)(0x8001e000+offset)) = 0;
|
||||||
#else
|
#else
|
||||||
@@ -244,7 +244,7 @@ void mips_vector_isr_handlers( CPU_Interrupt_frame *frame )
|
|||||||
// if another interrupt has arrived, jump out right
|
// if another interrupt has arrived, jump out right
|
||||||
// away but be sure to reset all the interrupts we've
|
// away but be sure to reset all the interrupts we've
|
||||||
// already serviced
|
// already serviced
|
||||||
//if( READ_CAUSE() & 0xff ) goto pfexit;
|
if( READ_CAUSE() & 0xff ) goto pfexit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user