Commit Graph

12198 Commits

Author SHA1 Message Date
Pavel Pisa
02632e83e0 bsp/csb336: mc9328mxl correct AITC access in bsp_interrupt_dispatch.
The original version is missing void and result is that (*x >> 16) is
optimized to ldh rX,[rY]. But it is not allowed/supported to access
bus/address range used by AITC by other than 32 bit wide accesses
and 16-bit access results in the data abort exception.
The corrected version works on real hardware and is even
more readable.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2013-07-26 11:55:47 +02:00
Sebastian Huber
88c74ab115 score: Merge tod implementation into one file
Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and
TOD_MILLISECONDS_TO_TICKS().
2013-07-26 11:55:47 +02:00
Sebastian Huber
a2e3f33f39 score: Create object implementation header
Move implementation specific parts of object.h and object.inl into new
header file objectimpl.h.  The object.h contains now only the
application visible API.
2013-07-26 11:55:47 +02:00
Sebastian Huber
0c3edbf0cf Include missing <rtems/score/threaddispatch.h> 2013-07-26 11:55:47 +02:00
Peter Dufault
b3a84034e2 bsp/mpc55xx: Fix prototype 2013-07-24 15:49:53 +02:00
Sebastian Huber
39046f766f score: Merge sysstate API into one file 2013-07-24 11:11:21 +02:00
Sebastian Huber
83015b16b5 bsp/lpc32xx: Fix memory map for GPIO registers 2013-07-24 11:11:20 +02:00
Sebastian Huber
7660e8b347 Include missing <string.h> 2013-07-23 15:12:54 +02:00
Karel Gardas
dbce4c603d bsp/stm32f4: fix typo in USART2 device name 2013-07-22 16:58:28 +02:00
Ralf Kirchner
2f589cccae bsp/gen83xx: Fix BSP options for MPC8348EAMDS 2013-07-18 10:19:38 +02:00
Sebastian Huber
ca63ae2ec0 smp: Add and use _CPU_SMP_Send_interrupt()
Delete bsp_smp_interrupt_cpu().
2013-07-17 13:09:50 +02:00
Sebastian Huber
39e51758c8 smp: Add and use _CPU_SMP_Get_current_processor()
Add and use _SMP_Get_current_processor() and
rtems_smp_get_current_processor().

Delete bsp_smp_interrupt_cpu().

Change type of current processor index from int to uint32_t to match
_SMP_Processor_count type.
2013-07-17 13:09:49 +02:00
Ric Claus
3923472555 bsps/arm: Fix for top of the address space 2013-07-17 10:13:34 +02:00
Ric Claus
691e0eff5d bsp/xilinx-zynq: Provide BSP variants 2013-07-17 10:13:31 +02:00
Sebastian Huber
51a58e0c83 bsp/xilinx-zynq: Use bsp_console_select() 2013-07-17 10:13:27 +02:00
Sebastian Huber
7306578c42 bsps/serial: Move bsp_console_select() declaration 2013-07-17 08:19:59 +02:00
Sebastian Huber
3ccaf3c9f3 bsps: Use rtems_task_self() 2013-07-16 19:09:25 +02:00
Sebastian Huber
85d2e4b58f libchip/ata: Remove dead code 2013-07-16 19:09:25 +02:00
Vipul Nayyar
ad4ce28ba8 Updated legacy code in arm edb7312 2013-07-16 08:30:13 +02:00
Sebastian Huber
06adfae309 bsps/arm: Disable alignment exceptions 2013-07-16 08:25:26 +02:00
Sebastian Huber
c8d78ee510 bsp/mpc55xx: Add MPC5668G support 2013-07-15 11:57:13 +02:00
Vipul Nayyar
583eb4588f bsp/rtl22xx: Use IRQ extensions API 2013-07-15 11:51:50 +02:00
Vipul Nayyar
163e88a8c3 bsp/gumstix: Fix warnings 2013-07-12 21:58:13 +02:00
Vipul Nayyar
9b6add418c Updated Legacy code in arm gba 2013-07-12 14:01:20 +02:00
Sebastian Huber
5252822cb4 bsps: Simplify bsp_generic_fatal() declaration 2013-07-11 10:07:39 +02:00
Joel Sherrill
79363a1d56 libbsp/shared/generic-fatal.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to bsp_f 2013-07-10 12:38:12 -05:00
Vipul Nayyar
e183211be1 Updated Legacy code in arm gumstix 2013-07-10 12:26:25 -05:00
Vipul Nayyar
893d66937a Updated Legacy code in arm edb7312 2013-07-10 12:23:50 -05:00
Sebastian Huber
26c093e556 bsp/virtex: Use #if instead of #ifdef
This allows VIRTEX_CONSOLE_USE_INTERRUPTS=0 on the configure command
line to disable the interrupt mode.
2013-07-10 14:37:14 +02:00
Vipul Nayyar
52e44630e5 bsp/csb336: Use IRQ extensions API
Fix warnings.
2013-07-10 10:10:42 +02:00
Joel Sherrill
48a22edb4a libchip ns16550.c: Improve comment 2013-07-09 12:40:51 -05:00
Sebastian Huber
0a697dd92c bsp/virtex: Add VIRTEX_CONSOLE_USE_INTERRUPTS
Add interrupt support for console driver.
2013-07-09 16:42:01 +02:00
Sebastian Huber
d168079cec bsp/virtex: Use ppc_count_leading_zeros()
Use ppc_count_leading_zeros() to optimize interrupt processing.
2013-07-09 16:42:00 +02:00
Sebastian Huber
296b60d72a bsp/virtex: Fix interrupt handling
Some modules like the XPS UART Lite use event triggered interrupts.  If
we acknowledge the interrupts after the interrupt service we may loose
these events.
2013-07-09 16:42:00 +02:00
Sebastian Huber
4fe3ad2f99 bsps/powerpc: Add ppc_count_leading_zeros() 2013-07-09 16:42:00 +02:00
Vipul Nayyar
6886a48530 bsp/csb337: Use IRQ extensions API
Fix warnings.
2013-07-07 15:02:02 +02:00
Sebastian Huber
ad83ea03eb mouse: Add shared bsp_get_serial_mouse_device() 2013-07-07 14:44:47 +02:00
Sebastian Huber
818edbd067 bsp/mpc55xx: Update due to API changes
Termios notifies now the driver about an inactive transmit with the
length argument set to zero.
2013-07-05 16:01:04 +02:00
Sebastian Huber
d91d50f638 bsp/mpc55xx: Avoid integer overflow 2013-07-05 16:01:03 +02:00
Sebastian Huber
c97d3dd42b bsp/mpc55xx: Round PLL divider up 2013-07-05 16:01:03 +02:00
Ralf Kirchner
cd7db89656 bsp/psim: Use EABI and System V small-data area 2013-07-05 16:01:03 +02:00
Ralf Kirchner
3da02169c7 bsps/powerpc: Avoid placement in small-data area 2013-07-05 16:01:03 +02:00
Ralf Kirchner
1b47871dd6 bsp/psim: Fix declaration
It declares a symbol defined in the linker command file.
2013-07-05 16:01:02 +02:00
Sebastian Huber
3b645c1b0c bsps/arm: Add PL050 support 2013-06-29 15:15:50 +02:00
Sebastian Huber
c8312b3ff2 bsps/arm: Add PL111 support 2013-06-29 15:15:50 +02:00
Sebastian Huber
e310dcddd0 libchip/serial: Add const qualifier 2013-06-29 15:15:50 +02:00
Sebastian Huber
311ba73f3a framebuffer: Add and use FRAMEBUFFER_DEVICE_0_NAME 2013-06-29 15:15:49 +02:00
Sebastian Huber
98db96e35a make: Use C flags for C++ as default
In case a BSP selects special CFLAGS_OPTIMIZE_V flags then they will be
also used for CXXFLAGS_OPTIMIZE_V automatically for example.
2013-06-29 15:15:49 +02:00
Sebastian Huber
40ce26534e bsp/psim: Use plain symbol for PSIM
This avoids a linker assertion failure in the GCC test suite.
2013-06-28 15:20:52 +02:00
Sebastian Huber
4800ffe1ea bsps/powerpc: Update debug sections 2013-06-28 15:20:34 +02:00