2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>

* startup/init68360.c, timer/timer.c: Remove warnings.
This commit is contained in:
Joel Sherrill
2010-04-28 19:16:22 +00:00
parent f7c9b9e816
commit 427bb7d1d4
3 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* startup/init68360.c, timer/timer.c: Remove warnings.
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* network/network.c: Fix warning.

View File

@@ -14,6 +14,9 @@
#include <bsp.h>
#include <rtems/m68k/m68360.h>
extern void _CopyDataClearBSSAndStart (unsigned long ramSize);
extern void *RamBase;
extern void *_RomBase; /* From linkcmds */
/*
* Declare the m360 structure here for the benefit of the debugger
@@ -44,9 +47,6 @@ void _Init68360 (void)
int i;
m68k_isr_entry *vbr;
unsigned long ramSize;
extern void _CopyDataClearBSSAndStart (unsigned long ramSize);
extern void *RamBase;
extern void *_RomBase; /* From linkcmds */
#if (defined (__mc68040__))
/*

View File

@@ -72,7 +72,10 @@ benchmark_timer_initialize (void)
int
benchmark_timer_read (void)
{
return *(uint32_t*)&m360.tcn1;
unsigned short val;
val = m360.tcn1;
return val;
}
void