2002-11-04 Joel Sherrill <joel@OARcorp.com>

* cpu.c: Removed warning.
This commit is contained in:
Joel Sherrill
2002-11-04 22:19:31 +00:00
parent 145fc8c08b
commit 849195615b
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2002-11-04 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Removed warning.
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Removed warnings.

View File

@@ -50,7 +50,7 @@ void _CPU_Initialize(
unsigned32 _CPU_ISR_Get_level( void )
{
unsigned32 reg;
unsigned32 reg = 0; /* to avoid warning */
asm volatile ("mrs %0, cpsr \n" \
"and %0, %0, #0xc0 \n" \