forked from Imagelibrary/rtems
Fix C files which had two semi-colons at EOL
This commit is contained in:
@@ -121,7 +121,7 @@ bool _FCSR_readSectors (u32 sector, u32 numSectors, void* buffer)
|
||||
int i;
|
||||
bool flagSramSector = false;
|
||||
int readLength = numSectors * BYTES_PER_READ;
|
||||
u8* src;;
|
||||
u8* src;
|
||||
u8* dst;
|
||||
|
||||
// Find which region this read is in
|
||||
|
||||
@@ -44,7 +44,7 @@ void cardWriteCommand(const uint8 * command) {
|
||||
//---------------------------------------------------------------------------------
|
||||
void cardPolledTransfer(uint32 flags, uint32 * destination, uint32 length, const uint8 * command) {
|
||||
//---------------------------------------------------------------------------------
|
||||
u32 data;;
|
||||
u32 data;
|
||||
cardWriteCommand(command);
|
||||
CARD_CR2 = flags;
|
||||
uint32 * target = destination + length;
|
||||
@@ -68,7 +68,7 @@ void cardStartTransfer(const uint8 * command, uint32 * destination, int channel,
|
||||
// Set up a DMA channel to transfer a word every time the card makes one
|
||||
DMA_SRC(channel) = (uint32)&CARD_DATA_RD;
|
||||
DMA_DEST(channel) = (uint32)destination;
|
||||
DMA_CR(channel) = DMA_ENABLE | DMA_START_CARD | DMA_32_BIT | DMA_REPEAT | DMA_SRC_FIX | 0x0001;;
|
||||
DMA_CR(channel) = DMA_ENABLE | DMA_START_CARD | DMA_32_BIT | DMA_REPEAT | DMA_SRC_FIX | 0x0001;
|
||||
|
||||
CARD_CR2 = flags;
|
||||
}
|
||||
|
||||
@@ -140,7 +140,7 @@ void Init_PLL (void)
|
||||
*((uint32_t*)SIC_IWR) = 0x1;
|
||||
|
||||
/* Configure PLL registers */
|
||||
*((uint16_t*)PLL_DIV) = ssel;;
|
||||
*((uint16_t*)PLL_DIV) = ssel;
|
||||
msel = msel<<9;
|
||||
*((uint16_t*)PLL_CTL) = msel;
|
||||
|
||||
|
||||
@@ -442,7 +442,7 @@ fec_rxDaemon (void *arg)
|
||||
* FIXME: Packet filtering hook could be done here.
|
||||
*/
|
||||
struct ether_header *eh;
|
||||
int len = rxBd->length - sizeof(uint32_t);;
|
||||
int len = rxBd->length - sizeof(uint32_t);
|
||||
|
||||
/*
|
||||
* Invalidate the cache and push the packet up.
|
||||
|
||||
@@ -423,7 +423,7 @@ fec_rxDaemon (void *arg)
|
||||
* FIXME: Packet filtering hook could be done here.
|
||||
*/
|
||||
struct ether_header *eh;
|
||||
int len = rxBd->length - sizeof(uint32_t);;
|
||||
int len = rxBd->length - sizeof(uint32_t);
|
||||
|
||||
/*
|
||||
* Invalidate the cache and push the packet up.
|
||||
|
||||
@@ -415,7 +415,7 @@ static void fec_rxDaemon(void *arg)
|
||||
* FIXME: Packet filtering hook could be done here.
|
||||
*/
|
||||
struct ether_header *eh;
|
||||
int len = rxBd->length - sizeof(uint32_t);;
|
||||
int len = rxBd->length - sizeof(uint32_t);
|
||||
|
||||
m = sc->rxMbuf[rxBdIndex];
|
||||
|
||||
|
||||
@@ -479,7 +479,7 @@ fec_rxDaemon (void *arg)
|
||||
* FIXME: Packet filtering hook could be done here.
|
||||
*/
|
||||
struct ether_header *eh;
|
||||
int len = rxBd->length - sizeof(uint32_t);;
|
||||
int len = rxBd->length - sizeof(uint32_t);
|
||||
|
||||
m = sc->rxMbuf[rxBdIndex];
|
||||
#ifdef RTEMS_MCF5282_BSP_ENABLE_DATA_CACHE
|
||||
|
||||
@@ -143,7 +143,7 @@ unsigned char hwp = 0, swp;
|
||||
if ( enbl ) {
|
||||
*p |= swp;
|
||||
} else {
|
||||
*p &= ~swp;;
|
||||
*p &= ~swp;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
||||
@@ -179,7 +179,7 @@ volatile union bconv *p;
|
||||
uint32_t rval;
|
||||
|
||||
if ( 1 == b->width )
|
||||
off <<= 1;;
|
||||
off <<= 1;
|
||||
|
||||
a = ADDR32(b, a, off);
|
||||
|
||||
|
||||
@@ -233,7 +233,7 @@ loop_exit:
|
||||
tmp = ELCRS_INT9_LVL | ELCRS_INT10_LVL | ELCRS_INT11_LVL;
|
||||
outb(tmp, ISA8259_S_ELCR);
|
||||
tmp = ELCRM_INT5_LVL;
|
||||
outb(tmp, ISA8259_M_ELCR);;
|
||||
outb(tmp, ISA8259_M_ELCR);
|
||||
/*
|
||||
* Set the Interrupt inputs to non-inverting level interrupt
|
||||
*/
|
||||
|
||||
@@ -1458,7 +1458,7 @@ vmeUniverseDmaStartXX(volatile LERegister *base, int channel, uint32_t pci_addr,
|
||||
|
||||
{
|
||||
/* help the compiler allocate registers */
|
||||
register volatile LERegister *b=base;;
|
||||
register volatile LERegister *b=base;
|
||||
register unsigned long dgcsoff=UNIV_REGOFF_DGCS,dgcs;
|
||||
|
||||
dgcs=READ_LE(b, dgcsoff);
|
||||
|
||||
@@ -531,7 +531,7 @@ void uart_exit(void)
|
||||
*/
|
||||
rtems_device_driver bfin_uart_open(rtems_device_major_number major,
|
||||
rtems_device_minor_number minor, void *arg) {
|
||||
rtems_status_code sc = RTEMS_NOT_DEFINED;;
|
||||
rtems_status_code sc = RTEMS_NOT_DEFINED;
|
||||
rtems_libio_open_close_args_t *args = NULL;
|
||||
|
||||
/**
|
||||
|
||||
@@ -248,7 +248,7 @@ spiPollRead (int minor)
|
||||
{
|
||||
|
||||
/* Wait for character */
|
||||
while ((port->LSR & LSR_RSR)==0);;
|
||||
while ((port->LSR & LSR_RSR)==0);
|
||||
|
||||
return port->RBR;
|
||||
}
|
||||
@@ -259,7 +259,7 @@ spiPollWrite(int minor, const char *buf, size_t len)
|
||||
{
|
||||
|
||||
while (len-- > 0) {
|
||||
while (!(port->LSR & LSR_THE));;
|
||||
while (!(port->LSR & LSR_THE));
|
||||
port->THR = *buf++;
|
||||
}
|
||||
return 0;
|
||||
|
||||
@@ -212,7 +212,7 @@ tty0PollRead (int minor)
|
||||
{
|
||||
|
||||
/* Wait for character */
|
||||
while ((tty0port->LSR & LSR_RSR)==0);;
|
||||
while ((tty0port->LSR & LSR_RSR)==0);
|
||||
|
||||
return tty0port->RBR;
|
||||
}
|
||||
@@ -223,7 +223,7 @@ tty0PollWrite(int minor, const char *buf, size_t len)
|
||||
{
|
||||
|
||||
while (len-- > 0) {
|
||||
while (!(tty0port->LSR & LSR_THE));;
|
||||
while (!(tty0port->LSR & LSR_THE));
|
||||
tty0port->THR = *buf++;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user