Commit Graph

12198 Commits

Author SHA1 Message Date
Radu
8d830fae23 leon2_doxygen_1 2013-12-02 22:38:09 -05:00
Radu Toma
d230d8eaae sparc/leon3: Add doxygen. 2013-12-01 19:29:12 -05:00
Daniel Hellstrom
2d3eb23349 sparc/shared/irq_asm.S: Get pointer to self per-CPU control
_CPU_Context_switch_to_first_task_smp() branches to
done_flushing which requires o3 to be initalized with
"self per-CPU control", this adds initialization of
o3. This problem only affects SMP, see commit
f8ad6c6f7f were usage of o3 was intruduced.
2013-11-30 09:28:28 -06:00
Daniel Ramirez
2d6543d4c8 doxygen: refactored doxygen in libbsp/arm/lpc32xx
This patch refactors a lot of the existing doxygen within libbsp/arm/lpc32xx.
Much of this refactoring was just renaming of existing groups to conform to a
more consistent naming structure. With the addition of a doxygen header for
tm27.h, all files within lpc32xx belong to doxygen group now. lpc32xx should
be used a reference for adding doxygen to other bsps.
2013-11-29 22:48:59 -05:00
Daniel Ramirez
98eb7e78b6 raspberrypi doxygen refactoring 2013-11-27 09:53:52 -05:00
Chirayu Desai
22fa874ada powerpc/mpc55xxevb: Move bspworkarea.c to bspgetworkarea.c
Fixes commit 571216acee
2013-11-24 12:08:24 -05:00
Daniel Ramirez
287fefe2af mpc55xxevb: Move start.S to mpc55xxevb/start/start.S 2013-11-23 19:47:51 -05:00
Daniel Ramirez
9660ad6482 beatnik: Move bsp_reset() to beatnik/startup/bspreset.c 2013-11-23 15:35:19 -05:00
Chirayu Desai
571216acee powerpc/mpc55xxevb: Move bspworkareainit.c to bspgetworkarea.c
* Move bsp_work_area_initialize()
2013-11-23 13:00:29 -05:00
Chirayu Desai
4abc4d1e2c powerpc/mpc55xxevb: Move startup/reset.c to startup/bspreset.c 2013-11-23 07:56:14 -05:00
Daniel Ramirez
995eb4beb6 gumstix: Move bsp_reset() to gumstix/startup/bspreset.c 2013-11-22 06:04:14 -05:00
Daniel Ramirez
14876018c3 select.h, rtems_select.c, nds select: Add restrict keyword 2013-11-20 18:24:48 -06:00
Sebastian Huber
39a4574652 powerpc: Add r2 to CPU context
The r2 may be used for thread-local storage.
2013-11-18 14:56:43 +01:00
Joel Sherrill
52c3af137d sparc/../irq-shared.c: Fix compilation for SMP when not LEON3 2013-11-14 17:26:12 -06:00
Sebastian Huber
a3b1fcd977 bsps/arm: Fix Cortex-A9 MPCore nanoseconds handler 2013-11-14 15:57:52 +01:00
Sebastian Huber
2c93c5ae64 bsp/realview-pbx-a9: Add Ethernet module memory 2013-11-13 14:08:33 +01:00
Sebastian Huber
12cbc370c0 bsp/ngmp: New BSP variant 2013-11-13 09:34:27 +01:00
Sebastian Huber
f204e31070 bsp/leon3: Enable linker script variants 2013-11-13 09:34:27 +01:00
Sebastian Huber
198140009f bsp/leon3: Delete unused LEON_REG symbol 2013-11-13 09:34:27 +01:00
Sebastian Huber
ffc862cbf5 bsp/realview-pbx-a9: Add NULL pointer protection
Qemu Git version 8641136c54d216edb5bb8ef723c754039b4c5cf3 or later is
required.
2013-10-31 16:43:25 +01:00
Daniel Hellstrom
b3211b5a63 SPARC BSPs: disable interrupts as early as possible
There is no point having interrupts enabled before reaching
boot_card() that disables interrupt. We better have it off
all the time.

It is required to turn off interrupt on secondary CPUs in an
SMP system.
2013-10-31 15:31:06 +01:00
Daniel Hellstrom
82e11be20c LEON3 SMP: remove compiler warning from __delay() declaration 2013-10-31 15:31:06 +01:00
Daniel Hellstrom
bedfe131bb LEON3 SMP: CPU ack irq on trap vector entry execution 2013-10-31 15:31:06 +01:00
Daniel Hellstrom
e1b53274d0 LEON3_MP ISR: shared-IRQ setup overwrite SMP/MP ISR trap handler
Basically the shared-irq handler overwrite the SMP/MP traphandler
previously initialized with set_vector(). That caused IPIs to enter
BSP spurious handler.
2013-10-31 15:31:06 +01:00
Sebastian Huber
fbed79bdd0 bsps/arm: Add ARMV7_CP15_START_DEFAULT_SECTIONS 2013-10-27 19:39:44 +01:00
Sebastian Huber
f074a4d1bb bsps/arm: ARMV7_MMU_DATA_READ_WRITE_SHAREABLE
Delete ARMV7_MMU_DATA_READ_WRITE_SHAREABLE and move RTEMS_SMP
specific MMU attribute settings to arm-cp15.h.
2013-10-27 19:39:36 +01:00
Sebastian Huber
f619250391 bsps: Add simple console output char 2013-10-27 19:13:47 +01:00
Hesham AL-Matary
7ad725f27d Modify raspberrypi mm_config_table to map GPIO and registers.
Changes include reverting back to setting all page-table section entries
as invalid and modify mm_config_table to apply the correct memory attributes
for raspbberypi memory sections at startup. The newly added entry at mm_config_table
maps raspberrypi GPIO and other registers found at raspberrypi.h
2013-10-27 19:06:05 +01:00
Sebastian Huber
09d0c96b91 bsps/arm: Move some MMU bit settings
The function
arm_cp15_start_setup_translation_table_and_enable_mmu_and_cache() must
only set the MMU and cache enable flags.  Configuration flags must be
set elsewhere.
2013-10-27 18:58:42 +01:00
Sebastian Huber
0f874ee501 bsps/arm: Init trans tbl with invalid entries 2013-10-27 18:54:50 +01:00
Joel Sherrill
24a6943c66 sparc all BSPs: Use function and data sections
This reduces the size of the RTEMS tests on average about 45%.
2013-10-24 18:42:39 -05:00
Christian Mauderer
0255beaf17 bsp/stm32f4: Bugfix for I2C driver. 2013-10-24 16:43:01 +02:00
Christian Mauderer
c918737ed3 bsp/stm32f4: Add a simple I2C-driver. 2013-10-24 16:29:18 +02:00
Christian Mauderer
bb3f3491b5 bsp/stm32f4: Bugfix for io-initialisation. 2013-10-24 16:29:13 +02:00
Christian Mauderer
c6f0efe297 bsp/stm32f4: Header for f10xxx EXTI. 2013-10-24 16:29:05 +02:00
Pavel Pisa
382f714a6e SPI SD-Card: setup valid CRC-7 for STOP_TRANSMISSION command.
STOP_TRANSMISSION command is used to finish READ_MULTIPLE_BLOCK
command and its format is regular command format.
It requires valid CRC-7 to have effect at least on
same cards types else it is ignored and attempt
to issue next READ or WRITE commands results in
illegal command condition (0x04) preceded by strange
(0x3f) for tested card.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2013-10-08 11:14:03 +02:00
Hesham AL-Matary
5ceefe18f0 Shared MMU initialization for ARM BSPs and RaspberryPi MMU support
Add support for MMU initialization for RaspberryPi. Introduce new shared
MMU configuration table that can be used by other BSPs that call the
arm_cp15_start_setup_translation_table_and_enable_mmu_and_cache function.
Demonstrate the use of the generic table with RaspberryPi.
2013-10-03 08:55:33 -04:00
Hesham AL-Matary
0a9533fc2c Add a new necessary definition needed for raspberrypi MMU support
The new ARM_CP15_CTRL_XP is necessary to share ARMv6 and ARMv7
page-table formats and definitions.
It enables the extended page tables (introduced in ARMv6)
to be configured for the hardware page translation mechanism. This way
we can share ARMv6 and ARMv7 page tables entry formats.

Other Fault Status Register Definitions can be useful for debugging or
excpetion handlers.
2013-10-03 08:51:29 -04:00
Joel Sherrill
ba2e98e643 libbsp/sparc/.../gnatcommon.c: Formatting 2013-09-30 12:08:38 -05:00
Joel Sherrill
d349636b2a leon2/.../ckinit.c: Change get nanoseconds handler to static 2013-09-30 12:08:13 -05:00
Joel Sherrill
a15650dad5 mips/shared/.../clockdrv.c: Change get nanoseconds handler to static 2013-09-30 12:07:35 -05:00
Joel Sherrill
2dfdecd91c uC5282/.../clock.c: Change get nanoseconds handler to static 2013-09-30 12:07:07 -05:00
Joel Sherrill
38905d70d8 leon3/bsppredriver.c: Add include file to warning 2013-09-23 08:28:48 -05:00
Joel Sherrill
4fab260dd1 libcpu/sparc/.../access_le.c: Add include file to fix warning 2013-09-23 08:24:32 -05:00
Joel Sherrill
876af7a1a0 leon3/.../ckinit.c: Change get nanoseconds handler to static 2013-09-23 08:16:55 -05:00
Joel Sherrill
d2c5bff7dc leon3/.../ckinit.c: Fix missing prototype warnings 2013-09-22 10:51:36 -05:00
Joel Sherrill
68670555c9 libbsp/shared/bspinit.c: Fix missing prototype warnings 2013-09-22 10:51:19 -05:00
Joel Sherrill
4650678bb4 leon3/.../bspstart.c: Fix missing prototype warnings 2013-09-22 10:38:31 -05:00
Joel Sherrill
f07b0e6563 sparc/.../grcan.c: Switch to using RTEMS_COMPILER_UNUSED_ATTRIBUTE 2013-09-22 09:41:49 -05:00
Joel Sherrill
c8707a316b leon3/console.c: Fix misisng prototype issues 2013-09-21 16:25:06 -05:00