Commit Graph

11798 Commits

Author SHA1 Message Date
Sebastian Huber
04f399dc0b arm: Add and use _ARMV7M_Exception_default() 2013-01-07 15:07:42 +01:00
Sebastian Huber
0f7abd9943 arm: Rename inline functions
Rename arm_status_irq_enable() to _ARMV4_Status_irq_enable() and
arm_status_restore() to _ARMV4_Status_restore().
2013-01-07 15:07:41 +01:00
Sebastian Huber
8df0e91ab0 arm: Move inline functions 2013-01-07 15:07:41 +01:00
Sebastian Huber
13cf9520f4 arm: Add and use default exception handler
Add and use _ARMV4_Exception_undef_default(),
_ARMV4_Exception_swi_default(), _ARMV4_Exception_data_abort_default(),
_ARMV4_Exception_pref_abort_default(),
_ARMV4_Exception_reserved_default(), _ARMV4_Exception_irq_default(), and
_ARMV4_Exception_fiq_default().
2013-01-07 15:07:41 +01:00
Sebastian Huber
370c2c8021 arm: Rename arm_exc_interrupt()
Rename arm_exc_interrupt() to _ARMV4_Exception_interrupt().
2013-01-07 15:07:40 +01:00
Sebastian Huber
9b2e714322 arm: Move prototypes to new file
Move bsp_interrupt_dispatch() and arm_exc_interrupt() prototypes to new
file <rtems/score/armv4.h> since they have nothing to do with the CPU
port.
2013-01-07 15:07:39 +01:00
Sebastian Huber
9224905b89 bsps: Fix rtems_interrupt_server_handler_remove() 2013-01-07 15:07:39 +01:00
Sebastian Huber
3af7e23e7f bsp/gen83xx: Add GPR_1 to register map 2012-12-21 15:40:27 +01:00
Sebastian Huber
a640b204c0 bsp/gen83xx: Fix RCWLR_CEVCO defines 2012-12-21 15:40:27 +01:00
Sebastian Huber
566c05c896 bsp/gen83xx: Fix CSB clock calculation for MPC8309 2012-12-21 15:40:26 +01:00
Sebastian Huber
4592658b70 bsps/arm: Move promiscuous mode setting 2012-12-18 11:22:19 +01:00
Sebastian Huber
3f58ac7add bsps/arm: Add PHY up/down
All PHYs will be set to power up/down state with the BMCR[BMCR_PDOWN]
setting.

The KSZ80X1RNL will use the energy detect power down (EDPD) mode with
PLL automatically turned in the up state.  It will use the slow
oscillator mode in the down state.

To prevent system bus lock-ups the PHY is set to the up state before
Ethernet module initialization.  In case of a communication failure with
the PHY or weird PHY identifiers the initialization will be aborted.
2012-12-18 11:22:19 +01:00
Sebastian Huber
50233d370c bsps/arm: Add PHY timeout detection 2012-12-18 11:22:19 +01:00
Sebastian Huber
2cd48da071 bsps/arm: Add interface down support 2012-12-18 11:22:19 +01:00
Sebastian Huber
e99893f986 bsps/arm: Prepare for interface down support 2012-12-18 11:22:18 +01:00
Sebastian Huber
573822b1e9 bsps/arm: Use assert() instead of status macros 2012-12-18 11:22:18 +01:00
Sebastian Huber
5970dcc9e2 bsps/arm: Remove superfluous attributes 2012-12-18 11:22:18 +01:00
Sebastian Huber
e5a7f8469a bsps/arm: Avoid mbuf migration in LPC ethernet
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-12-18 11:22:18 +01:00
Sebastian Huber
c9562c593b bsp/lpc32xx: Add UART_CLKMODE settings 2012-12-18 11:22:18 +01:00
Sebastian Huber
380628ea05 bsp/lpc32xx: Configure U4_TX pin for UART 4 2012-12-18 11:22:17 +01:00
Sebastian Huber
d1cf32676d bsp/lpc32xx: Fix function prototype 2012-12-18 11:22:17 +01:00
Sebastian Huber
f25d31f52b bsp/lpc32xx: Add idle thread body 2012-12-18 11:22:17 +01:00
Sebastian Huber
73719950c0 bsp/lpc32xx: Fix console baud configuration 2012-12-13 11:36:37 +01:00
Sebastian Huber
80232ee7a4 bsps/powerpc: Use explicit compiler options 2012-12-07 10:36:16 +01:00
Sebastian Huber
48bff53b3d score: rtems_initialize_start_multitasking()
Do not return from rtems_initialize_start_multitasking() and call
rtems_fatal() instead with a fatal source of RTEMS_FATAL_SOURCE_EXIT and
a fatal code with the exit status.

Remove all bsp_cleanup() functions.  The boot_card() is now a no return
function.
2012-12-07 09:38:41 +01:00
Sebastian Huber
1bb8782c91 bsp/gdbarmsim: Do not call bsp_cleanup() 2012-12-07 09:38:41 +01:00
Sebastian Huber
facf83625b bsps: Add BSP_GENERIC_FATAL_SPURIOUS_INTERRUPT
Use rtems_fatal() instead of bsp_cleanup().
2012-12-07 09:38:41 +01:00
Sebastian Huber
dabdbd913a bsp/mrm332: Use shared bspclean.c 2012-12-07 09:38:41 +01:00
Sebastian Huber
40fe4b8627 bsps: Use <bsp/bootcard.h> 2012-12-07 09:38:40 +01:00
Sebastian Huber
191929cd22 bsps/powerpc: Install missing <bsp/vectors.h> 2012-12-07 09:38:40 +01:00
Sebastian Huber
2858aeb9b3 bsp/mpc55xx: New BSP variants for RSM6 2012-12-03 13:17:13 +01:00
Sebastian Huber
e1e248f6af bsp/mpc55xx: Add optional EBI configuration 2012-12-03 13:17:13 +01:00
Sebastian Huber
f4309b0398 bsp/mpc55xx: Use RTEMS_ARRAY_SIZE() 2012-12-03 13:17:12 +01:00
Sebastian Huber
29919ec05b bsp/mpc55xx: Add .sysram section 2012-12-03 13:17:12 +01:00
Sebastian Huber
65ab304bd8 bsp/mpc55xx: Add .dsram section 2012-12-03 13:17:12 +01:00
Sebastian Huber
bb3090c545 bsp/mpc55xx: Delete <bsp/mpc55xxevb.h> 2012-12-03 13:17:12 +01:00
Sebastian Huber
113768f2cd bsps/powerpc: Add .nvram section 2012-12-03 13:17:12 +01:00
Sebastian Huber
95aebbe380 bsp/mpc55xx: Add and use STARTROM 2012-12-03 13:17:11 +01:00
Sebastian Huber
840dd00eef bsp/mpc55xx: Add and use linkcmds.mpc5674f_ecu508 2012-12-03 13:17:11 +01:00
Sebastian Huber
c6d35ad46b bsp/mpc55xx: Errata e4396 for e200z7 2012-12-03 13:17:11 +01:00
Sebastian Huber
2e80662196 bsp/mpc55xx: Set PPC_EXC_CONFIG_BOOKE_ONLY 2012-12-03 13:17:11 +01:00
Sebastian Huber
3ce66aabb5 bsp/mpc55xx: Set PPC_EXC_CONFIG_USE_FIXED_HANDLER 2012-12-03 13:17:11 +01:00
Sebastian Huber
1c479be447 bsp/mpc55xx: Documentation 2012-12-03 13:17:10 +01:00
Sebastian Huber
fee41c9689 bsp/mpc55xx: Add and use mpc55xx_fatal_code 2012-12-03 13:17:10 +01:00
Christian Mauderer
6eb0ce2161 bsp/mpc55xx: Fix SMSC9218I MAC address setting 2012-12-03 13:17:10 +01:00
Sebastian Huber
da2fa4ebcc bsp/mpc55xx: Remove BSP_panic() 2012-12-03 13:17:10 +01:00
Sebastian Huber
67338ed870 bsp/mpc55xx: Add mpc55xx_wait_for_interrupt()
Use mpc55xx_wait_for_interrupt().
2012-12-03 13:17:10 +01:00
Sebastian Huber
2d561b9cdf bsp/mpc55xx: Use BSP_START_DATA_SECTION 2012-12-03 13:17:09 +01:00
Sebastian Huber
bd75e589e1 bsp/mpc55xx: Fix INTC initialization 2012-12-03 13:17:09 +01:00
Sebastian Huber
6c4541048a bsp/mpc55xx: Fix no-cache section load 2012-12-03 13:17:09 +01:00