Commit Graph
11653 Commits
Author SHA1 Message Date
Sebastian Huber 75524a5e13 sapi: Use rtems_config*_get_interrupt_stack_size 2012-11-07 15:08:43 +01:00
Sebastian Huber 5e86086f1e sapi: Use rtems_config*_get_microseconds_per_tick 2012-11-07 15:08:43 +01:00
Sebastian Huber 524473fde4 bsp/nds: Do not change configuration 2012-11-07 15:08:42 +01:00
Sebastian Huber c082e633e5 bsp/mvme167: Do not provide user extensions table
The application should use confdefs.h to set up the initial user
extensions.  The bsp_fatal_error_occurred() handler is available via
<fatal.h>.
2012-11-07 15:08:42 +01:00
Sebastian Huber e85476b5a2 bsp/mvme167: Remove unused parameter 2012-11-07 15:08:42 +01:00
Sebastian Huber a9e5e747f0 bsps: Use allocator mutex for generic IRQ support
Since the allocator mutex allows nesting now we can use it for the
generic IRQ support (recursive obtain in a potential malloc()).  This
simplifies the code and reduces memory usage.
2012-11-06 10:20:56 +01:00
Sebastian Huber 9f0a68ce5a libblock: Block device transfer request API change
Add and use rtems_blkdev_request_done().  Block device transfer requests
must signal the completion status now with rtems_blkdev_request_done().
The return value of the block device IO control will be ignored for
transfer requests.

The first parameter of rtems_blkdev_request_cb is now the transfer
request structure.

Renamed rtems_blkdev_request::req_done to rtems_blkdev_request::done to
break third party drivers at compile time, otherwise this API change
would result in runtime errors.
2012-11-02 09:40:58 +01:00
Sebastian Huber 20e1e769f8 bsp/mpc55xx: SMSC9218i avoid mbuf migration
The receive task will only hand over a mbuf if it gets a new one
immediately.  This avoids mbuf migration out of the receive task in case
of overload.
2012-11-02 09:34:39 +01:00
Sebastian Huber 26e90fb1c6 libnetworking: Use system events
Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and
RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP.

Add and use rtems_bsdnet_event_send().
2012-11-02 09:34:35 +01:00
Sebastian Huber f33873ba8e bsp/pc386: Typo 2012-10-29 21:14:23 +01:00
Sebastian Huber 2ece571e9d bsp/mpc55xx: Stop tasks for SMSC9218i during off 2012-10-25 17:42:33 +02:00
Sebastian Huber da89075944 bsp/mpc55xx: Add custom work area init 2012-10-25 14:54:06 +02:00
Sebastian Huber c118a6e5ff bsps: Add bsp_work_area_initialize_with_table() 2012-10-25 14:54:06 +02:00
Sebastian Huber 47a3cd8f73 score: Work area initialization API change
The work areas (RTEMS work space and C program heap) will be initialized
now in a separate step and are no longer part of
rtems_initialize_data_structures().  Initialization is performed with
tables of Heap_Area entries.  This allows usage of scattered memory
areas present on various small scale micro-controllers.

The sbrk() support API changes also.  The bsp_sbrk_init() must now deal
with a minimum size for the first memory chunk to take the configured
work space size into account.
2012-10-25 14:54:06 +02:00
Ralf Corsépius 64d6f192c9 Eliminate unused var 'digit'. 2012-10-19 14:17:46 +02:00
Ralf Corsépius b52630c6f5 Make open_eth_txDaemon static. 2012-10-19 14:16:48 +02:00
Ralf Corsépius 02687e22bd Remove unused vars 'rxdmaBase', txdmaBase. 2012-10-19 14:01:23 +02:00
Ralf Corsépius 37a532b99a Remove stray blanks. 2012-10-19 13:59:32 +02:00
Ralf Corsépius 23242172ab Add clock/rtc.h to rtc_rel_SOURCES. 2012-10-19 13:58:26 +02:00
Ralf Corsépius 86d7cbd23e Remove unused var 'sc'. 2012-10-15 18:12:43 +02:00
Ralf Corsépius 2fcc3607ed Fix z85c30_get_register, z85c30_set_register prototype mismatch. 2012-10-15 17:58:34 +02:00
Ralf Corsépius 61af4b0b98 Include <rtems/framebuffer.h>. 2012-10-15 17:58:24 +02:00
Ralf Corsépius 364e891836 Include libchip/z85c30.h. 2012-10-15 17:58:10 +02:00
Ralf Corsépius 4c3d4fd5d4 Include stdint.h, libchip/serial.h. 2012-10-15 17:57:59 +02:00
Sebastian Huber f7513a0486 bsps: Remove unused bsp_libc_init() prototype 2012-10-15 14:58:08 +02:00
Sebastian Huber 2eb5d54ca8 bsps/arm: Add BSP_USB_OTG_TRANSCEIVER_I2C_ADDR 2012-10-12 15:37:09 +02:00
Sebastian Huber f72b2de10a bsp/lpc24xx: Fix PCLK clock divider calculation 2012-10-12 15:37:09 +02:00
Sebastian Huber 34d12d97f9 bsp/lpc24xx: Use 96MHz CCLK for LPC17XX EA BSP
This enables USB support by PLL0.
2012-10-12 15:37:09 +02:00
Sebastian Huber e9e5b92d36 bsp/lpc24xx: Evaluate LPC17XX pin type
New pin type LPC17XX_PIN_TYPE_OPEN_DRAIN.
2012-10-12 15:37:08 +02:00
Sebastian Huber 4275124e9b bsp/lpc24xx: Enable USB clock by PLL0 for LPC17XX 2012-10-12 15:37:08 +02:00
Sebastian Huber 6671ddd048 bsp/lpc24xx: Fix warnings 2012-10-12 15:37:08 +02:00
Joel Sherrill 0e27119f80 Use proper 3 line form of license text 2012-10-11 15:52:51 -05:00
Ralf Corsépius 34a8f36998 Remove stray '/'. 2012-10-09 18:43:46 +02:00
Sebastian Huber d880d40afe bsp/qoriq: Fix maximum packet size 2012-10-08 16:25:07 +02:00
Peter Dufault 52c8df84ca bsp/mpc55xx: PR2077: Add BSP_DEFAULT_BAUD_RATE 2012-10-02 15:27:34 +02:00
Peter Dufault 6527d879b7 bsp/mpc55xx: PR2077: Avoid PPC_USE_SPE 2012-10-02 15:27:34 +02:00
Peter Dufault 2a6ec3179b bsp/mpc55xx: PR2077: Mapping for external flash 2012-10-02 15:27:34 +02:00
Peter Dufault 967481a09a bsps: PR2076: SMC91111 fixes for mpc55xxevb BSP
- A typo prevents if_smc.c from being built when configured;
- The argument passed to the interrupt handler was incorrect and the
  addition of support for RTEMS_INTERRUPT_SHARED exposed it;
- A "#ifdef DEBUG" is supposed to be "#if DEBUG" since 0 is supposed to
  make it quiet.
2012-10-02 15:27:34 +02:00
Sebastian Huber 245cad54f2 bsp/mpc55xx: Fix bsp_idle_thread() 2012-10-02 15:27:33 +02:00
Sebastian Huber 94102775e0 bsp/mpc55xx: Add and use MPC55XX_CHIP_FAMILY 2012-10-02 15:27:33 +02:00
Joel Sherrill 63241f8044 pc386: Add Cirrus FB Driver to Makefile and configure.ac
The user has to explicitly enable this driver, choosing
it over the existing (and lame) CGA frame buffer driver
using USE_CIRRUS_GD5446=1 on the configure command line.
2012-09-28 16:38:06 -05:00
Alexandru-Sever Horin f97e450a66 FB driver for Cirrus GD5446 graphic hardware.
Implementation is tested to work on QEMU simulator only.

QEMU offers this hardware by default for PC platform but
it can be requested by "-vga cirrus" option for other PCI
aware systems in development/next QEMU releases as well.

Next sources have been used for driver implementation:
  - RTEMS fb_vga.c - Rosimildo da Silva ( rdasilva@connecttel.com )
  - Cirrus xf86 driver - used as VGA hardware setup documentation
  - CL-GD5446 Technical Reference Manual, 1996, Second Edition

fb_vga.c has to be replaced by fb_cirrus.c in
  rtems/c/src/lib/libbsp/i386/pc386/Makefile.am
to test the driver now. We expect to discus and include driver
section mechanism after driver testing.

Patch version 2:
  - comments style updated according to Joel Sherrill review
  - use static for variables and functions to compile without warnings

Signed-off-by: Alexandru-Sever Horin <alex.sever.h@gmail.com>
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
2012-09-28 16:38:06 -05:00
Sebastian Huber b762488ef5 bsp/mpc55xx: Add e200z7 specific idle task 2012-09-28 16:43:24 +02:00
Sebastian Huber 7f5ab84e38 bsps/arm: Fix rtems_mii_ioctl() usage 2012-09-28 16:43:24 +02:00
Sebastian Huber afd1967155 bsps/arm: Add LPC_DMA_CHANNEL_COUNT 2012-09-28 16:43:19 +02:00
Joel Sherrill 3850af9511 mpc55xxevb: Fix compilation in start-config-siu-pcr.c 2012-09-06 09:40:17 -05:00
Christian Mauderer 7b865a44b3 bsp/mpc55xx: Use a one second timeout 2012-08-21 11:06:24 +02:00
Christian Mauderer f9fe954fa2 bsp/mpc55xx: Fix SMSC9218I_BIG_ENDIAN_SUPPORT 2012-08-21 11:06:24 +02:00
Christian Mauderer 6f89813f42 bsp/mpc55xx: Move work from ISR to task context 2012-08-21 11:06:23 +02:00
Thomas Doerfler d9af2ed4dd bsp/gen83xx: Add br_uid BSP variant 2012-08-20 10:16:32 +02:00