Sebastian Huber
7ca64d69fa
bsp/mpc55xx: Update due to API changes
2012-11-21 16:24:22 +01:00
Sebastian Huber
b1e8a580bc
bsps/powerpc: Exception initialization error is fatal
2012-11-15 15:33:13 +01:00
Sebastian Huber
dd8df59413
bsps: Interrupt initialization error is fatal
2012-11-15 15:33:13 +01:00
Sebastian Huber
a052181ca2
score: Add RTEMS_FATAL_SOURCE_EXIT
...
Include <bsp/default-initial-extension.h> in all BSPs. Call
rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit()
status code as fatal code in every bsp_cleanup(). Move previous
bsp_cleanup() code into bsp_fatal_extension().
2012-11-15 15:33:12 +01:00
Sebastian Huber
b31a9603e0
score: Add INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR
...
Use INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR on PowerPC for
_CPU_ISR_install_vector().
2012-11-15 15:33:11 +01:00
Sebastian Huber
dc6e830c10
sapi: Add and use rtems_internal_error_description
2012-11-15 15:33:11 +01:00
Sebastian Huber
e4b40531f3
sapi: Add rtems_fatal_source and rtems_fatal_code
2012-11-15 15:33:11 +01:00
Sebastian Huber
767b4c12ce
bsp/jmr3904: Define bsp_reset()
...
This is declared in <bsp/bootcard.h> and is the usual function to reset
a board.
2012-11-15 15:33:10 +01:00
Sebastian Huber
db5cb2629b
bsps/lm32: Include <bsp/bootcard.h>
2012-11-15 15:33:10 +01:00
Sebastian Huber
12007d06e8
bsps: Include <bspopts.h> in <bsp.h>
2012-11-14 14:42:27 +01:00
Sebastian Huber
a3e8ab2a4c
bsps/sparc: Define bsp_reset()
...
This is declared in <bsp/bootcard.h> and is the usual function to reset
a board.
2012-11-14 14:06:59 +01:00
Sebastian Huber
3a1d9c6711
bsps: Include <bsp/bootcard.h>
...
Use <bsp/bootcard.h> to get prototype for bsp_cleanup(). Fix
bsp_cleanup() definition if necessary.
2012-11-14 14:06:59 +01:00
Sebastian Huber
00dae1866d
powerpc: Delete _CPU_Install_interrupt_stack()
...
This function is only used if CPU_HAS_HARDWARE_INTERRUPT_STACK == TRUE.
2012-11-14 14:06:59 +01:00
Sebastian Huber
7121cac0cc
bsps/sparc: Add BSP_INITIAL_EXTENSION to <bsp.h>
...
The bsp_fatal_extension() will call BSP_fatal_return().
2012-11-13 09:38:02 +01:00
Sebastian Huber
38c0b1121f
bsps: New file <bsp/default-initial-extension.h>
2012-11-13 09:38:02 +01:00
Joel Sherrill
602a18440a
rtems-message_queue.adb: Formatting
2012-11-07 10:18:47 -06:00
Sebastian Huber
9186fa8dea
bsps/sparc: Delete unused symbol declaration
2012-11-07 15:08:45 +01:00
Sebastian Huber
ef5f3598ad
sapi: Delete duplicate declarations
2012-11-07 15:08:45 +01:00
Sebastian Huber
c4794975e9
sapi: Use rtems_configuration_get_work_space_size
2012-11-07 15:08:45 +01:00
Sebastian Huber
f536e127be
sapi: Use rtems_*_get_user_multiprocessing_table
2012-11-07 15:08:45 +01:00
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