2010-08-23 Joel Sherrill <joel.sherrilL@OARcorp.com>

* network/network.c: Fix warning.
This commit is contained in:
Joel Sherrill
2010-08-23 17:14:11 +00:00
parent a19ae9ec60
commit 2ff189dd0a
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2010-08-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* network/network.c: Fix warning.
2010-08-03 Joel Sherrill <joel.sherrilL@OARcorp.com> 2010-08-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console.c: Add BSP_poll_char. * console/console.c: Add BSP_poll_char.

View File

@@ -121,13 +121,14 @@ static rtems_isr mcf5329_fec_tx_interrupt_handler(rtems_vector_number v)
rtems_event_send(enet_driver[0].txDaemonTid, TX_INTERRUPT_EVENT); rtems_event_send(enet_driver[0].txDaemonTid, TX_INTERRUPT_EVENT);
} }
extern char _CoreSRamBase[];
/* /*
* Allocate buffer descriptors from (non-cached) on-chip static RAM * Allocate buffer descriptors from (non-cached) on-chip static RAM
* Ensure 128-bit (16-byte) alignment * Ensure 128-bit (16-byte) alignment
*/ */
static mcf5329BufferDescriptor_t *mcf5329_bd_allocate(unsigned int count) static mcf5329BufferDescriptor_t *mcf5329_bd_allocate(unsigned int count)
{ {
extern char _CoreSRamBase[];
static mcf5329BufferDescriptor_t *bdp = static mcf5329BufferDescriptor_t *bdp =
(mcf5329BufferDescriptor_t *) _CoreSRamBase; (mcf5329BufferDescriptor_t *) _CoreSRamBase;
mcf5329BufferDescriptor_t *p = bdp; mcf5329BufferDescriptor_t *p = bdp;