forked from Imagelibrary/rtems
2010-08-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* network/network.c: Fix warning.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user