2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>

PR 1294/bsps
	* startup/spurious.c: Correct prototype and usage of
	sparc_disable_interrupts.
This commit is contained in:
Joel Sherrill
2008-08-04 20:36:38 +00:00
parent b72e847b3f
commit 9f170c9e84
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1294/bsps
* startup/spurious.c: Correct prototype and usage of
sparc_disable_interrupts.
2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds: Add wildcard to gcc_except_table section so

View File

@@ -141,11 +141,11 @@ rtems_isr bsp_spurious_handler(
void bsp_spurious_initialize()
{
uint32_t trap;
uint32_t trap;
uint32_t level = 15;
uint32_t mask;
sparc_disable_interrupts(level);
level = sparc_disable_interrupts();
mask = ERC32_MEC.Interrupt_Mask;
for ( trap=0 ; trap<256 ; trap++ ) {