Changeset 721fe34 in rtems
- Timestamp:
- 05/31/12 20:34:36 (12 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 1869bb7
- Parents:
- 5f0cd34
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/arm/nds/libfat/source/disc_io/io_fcsr.c
r5f0cd34 r721fe34 122 122 bool flagSramSector = false; 123 123 int readLength = numSectors * BYTES_PER_READ; 124 u8* src; ;124 u8* src; 125 125 u8* dst; 126 126 -
c/src/lib/libbsp/arm/nds/libnds/source/common/card.c
r5f0cd34 r721fe34 45 45 void cardPolledTransfer(uint32 flags, uint32 * destination, uint32 length, const uint8 * command) { 46 46 //--------------------------------------------------------------------------------- 47 u32 data; ;47 u32 data; 48 48 cardWriteCommand(command); 49 49 CARD_CR2 = flags; … … 69 69 DMA_SRC(channel) = (uint32)&CARD_DATA_RD; 70 70 DMA_DEST(channel) = (uint32)destination; 71 DMA_CR(channel) = DMA_ENABLE | DMA_START_CARD | DMA_32_BIT | DMA_REPEAT | DMA_SRC_FIX | 0x0001; ;71 DMA_CR(channel) = DMA_ENABLE | DMA_START_CARD | DMA_32_BIT | DMA_REPEAT | DMA_SRC_FIX | 0x0001; 72 72 73 73 CARD_CR2 = flags; -
c/src/lib/libbsp/bfin/TLL6527M/startup/bspstart.c
r5f0cd34 r721fe34 141 141 142 142 /* Configure PLL registers */ 143 *((uint16_t*)PLL_DIV) = ssel; ;143 *((uint16_t*)PLL_DIV) = ssel; 144 144 msel = msel<<9; 145 145 *((uint16_t*)PLL_CTL) = msel; -
c/src/lib/libbsp/m68k/av5282/network/network.c
r5f0cd34 r721fe34 443 443 */ 444 444 struct ether_header *eh; 445 int len = rxBd->length - sizeof(uint32_t); ;445 int len = rxBd->length - sizeof(uint32_t); 446 446 447 447 /* -
c/src/lib/libbsp/m68k/mcf5235/network/network.c
r5f0cd34 r721fe34 424 424 */ 425 425 struct ether_header *eh; 426 int len = rxBd->length - sizeof(uint32_t); ;426 int len = rxBd->length - sizeof(uint32_t); 427 427 428 428 /* -
c/src/lib/libbsp/m68k/mcf5329/network/network.c
r5f0cd34 r721fe34 416 416 */ 417 417 struct ether_header *eh; 418 int len = rxBd->length - sizeof(uint32_t); ;418 int len = rxBd->length - sizeof(uint32_t); 419 419 420 420 m = sc->rxMbuf[rxBdIndex]; -
c/src/lib/libbsp/m68k/uC5282/network/network.c
r5f0cd34 r721fe34 480 480 */ 481 481 struct ether_header *eh; 482 int len = rxBd->length - sizeof(uint32_t); ;482 int len = rxBd->length - sizeof(uint32_t); 483 483 484 484 m = sc->rxMbuf[rxBdIndex]; -
c/src/lib/libbsp/powerpc/beatnik/flash/flashcfg.c
r5f0cd34 r721fe34 144 144 *p |= swp; 145 145 } else { 146 *p &= ~swp; ;146 *p &= ~swp; 147 147 } 148 148 } -
c/src/lib/libbsp/powerpc/shared/flash/spansionFlash.c
r5f0cd34 r721fe34 180 180 181 181 if ( 1 == b->width ) 182 off <<= 1; ;182 off <<= 1; 183 183 184 184 a = ADDR32(b, a, off); -
c/src/lib/libbsp/powerpc/shared/irq/irq_init.c
r5f0cd34 r721fe34 234 234 outb(tmp, ISA8259_S_ELCR); 235 235 tmp = ELCRM_INT5_LVL; 236 outb(tmp, ISA8259_M_ELCR); ;236 outb(tmp, ISA8259_M_ELCR); 237 237 /* 238 238 * Set the Interrupt inputs to non-inverting level interrupt -
c/src/lib/libbsp/shared/vmeUniverse/vmeUniverse.c
r5f0cd34 r721fe34 1459 1459 { 1460 1460 /* help the compiler allocate registers */ 1461 register volatile LERegister *b=base; ;1461 register volatile LERegister *b=base; 1462 1462 register unsigned long dgcsoff=UNIV_REGOFF_DGCS,dgcs; 1463 1463 -
c/src/lib/libcpu/bfin/serial/uart.c
r5f0cd34 r721fe34 532 532 rtems_device_driver bfin_uart_open(rtems_device_major_number major, 533 533 rtems_device_minor_number minor, void *arg) { 534 rtems_status_code sc = RTEMS_NOT_DEFINED; ;534 rtems_status_code sc = RTEMS_NOT_DEFINED; 535 535 rtems_libio_open_close_args_t *args = NULL; 536 536 -
c/src/lib/libcpu/powerpc/ppc403/console/console405.c
r5f0cd34 r721fe34 249 249 250 250 /* Wait for character */ 251 while ((port->LSR & LSR_RSR)==0); ;251 while ((port->LSR & LSR_RSR)==0); 252 252 253 253 return port->RBR; … … 260 260 261 261 while (len-- > 0) { 262 while (!(port->LSR & LSR_THE)); ;262 while (!(port->LSR & LSR_THE)); 263 263 port->THR = *buf++; 264 264 } -
c/src/lib/libcpu/powerpc/ppc403/tty_drv/tty_drv.c
r5f0cd34 r721fe34 213 213 214 214 /* Wait for character */ 215 while ((tty0port->LSR & LSR_RSR)==0); ;215 while ((tty0port->LSR & LSR_RSR)==0); 216 216 217 217 return tty0port->RBR; … … 224 224 225 225 while (len-- > 0) { 226 while (!(tty0port->LSR & LSR_THE)); ;226 while (!(tty0port->LSR & LSR_THE)); 227 227 tty0port->THR = *buf++; 228 228 } -
cpukit/libblock/src/bdbuf.c
r5f0cd34 r721fe34 2702 2702 rtems_bdbuf_swapout_transfer transfer; 2703 2703 uint32_t period_in_ticks; 2704 const uint32_t period_in_msecs = bdbuf_config.swapout_period; ;2704 const uint32_t period_in_msecs = bdbuf_config.swapout_period; 2705 2705 uint32_t timer_delta; 2706 2706 -
cpukit/libfs/src/dosfs/msdos_misc.c
r5f0cd34 r721fe34 801 801 uint32_t sec = (fat_cluster_num_to_sector_num(mt_entry, start.cln) + 802 802 (start.ofs >> fs_info->fat.vol.sec_log2)); 803 uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1)); ;803 uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1)); 804 804 805 805 ret = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_NAME_OFFSET, 1, -
cpukit/libi2c/libi2c.c
r5f0cd34 r721fe34 451 451 i = -err; 452 452 } else { 453 busses[i].name = nmcpy; ;453 busses[i].name = nmcpy; 454 454 nmcpy = 0; 455 455 } -
cpukit/libmisc/capture/capture.c
r5f0cd34 r721fe34 1048 1048 else 1049 1049 { 1050 capture_extension_index = rtems_object_id_get_index (capture_id); ;1050 capture_extension_index = rtems_object_id_get_index (capture_id); 1051 1051 } 1052 1052 -
cpukit/score/src/coremsgflushsupp.c
r5f0cd34 r721fe34 86 86 _ISR_Disable( level ); 87 87 inactive_head = _Chain_Head( &the_message_queue->Inactive_messages ); 88 inactive_first = inactive_head->next; ;88 inactive_first = inactive_head->next; 89 89 message_queue_first = _Chain_First( &the_message_queue->Pending_messages ); 90 90 message_queue_last = _Chain_Last( &the_message_queue->Pending_messages ); -
cpukit/score/src/heapresizeblock.c
r5f0cd34 r721fe34 45 45 Heap_Block *next_block = _Heap_Block_at( block, block_size ); 46 46 uintptr_t next_block_size = _Heap_Block_size( next_block ); 47 bool next_block_is_free = _Heap_Is_free( next_block ); ;47 bool next_block_is_free = _Heap_Is_free( next_block ); 48 48 49 49 _HAssert( _Heap_Is_block_in_heap( heap, next_block ) ); -
testsuites/libtests/cpuuse/tswitch.c
r5f0cd34 r721fe34 30 30 struct taskSwitchLog taskSwitchLog[25]; 31 31 int taskSwitchLogIndex; 32 volatile int testsFinished; ;32 volatile int testsFinished; 33 33 34 34 void Task_switch( -
testsuites/libtests/flashdisk01/init.c
r5f0cd34 r721fe34 228 228 int eno = 0; 229 229 const uint8_t *current = get_data_pointer(sd, segment, offset); 230 const uint8_t *end = current + size; ;230 const uint8_t *end = current + size; 231 231 232 232 while (eno == 0 && current != end) { -
testsuites/libtests/termios04/termios_testdriver_intr.c
r5f0cd34 r721fe34 190 190 status = rtems_timer_create(rtems_build_name('T', 'M', 'R', 'X'), &Rx_Timer); 191 191 if ( status ) 192 rtems_fatal_error_occurred(1); ;192 rtems_fatal_error_occurred(1); 193 193 194 194 status = rtems_timer_create(rtems_build_name('T', 'M', 'T', 'X'), &Tx_Timer); 195 195 if ( status ) 196 rtems_fatal_error_occurred(1); ;196 rtems_fatal_error_occurred(1); 197 197 198 198 return RTEMS_SUCCESSFUL; -
testsuites/psxtests/psxmsgq01/init.c
r5f0cd34 r721fe34 49 49 void verify_notify(void); 50 50 void verify_with_threads(void); 51 void verify_timedout_mq_timedreceive( 52 char *task_name, int que, int is_blocking);; 51 void verify_timedout_mq_timedreceive(char *task_name, int que, int is_blocking); 53 52 void verify_timedout_mq_timedsend(int que, int is_blocking); 54 53 void verify_timed_receive(void); -
testsuites/samples/paranoia/paranoia.c
r5f0cd34 r721fe34 1472 1472 UfThold = Y; 1473 1473 BadCond (Failure, "Either accuracy deteriorates as numbers\n"); 1474 printf ("approach a threshold = %.17e\n", UfThold); ;1474 printf ("approach a threshold = %.17e\n", UfThold); 1475 1475 printf (" coming down from %.17e\n", C); 1476 1476 printf (" or else multiplication gets too many last digits wrong.\n"); … … 1527 1527 printf (" Should this NOT signal Underflow, "); 1528 1528 printf ("this is a SERIOUS DEFECT\nthat causes "); 1529 printf ("confusion when innocent statements like\n"); ;1529 printf ("confusion when innocent statements like\n"); 1530 1530 printf (" if (X == Z) ... else"); 1531 1531 printf (" ... (f(X) - f(Z)) / (X - Z) ...\n");
Note: See TracChangeset
for help on using the changeset viewer.