Commit Graph
28437 Commits
Author SHA1 Message Date
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 ba120d1aaa Filesystem: Use ENOTTY for default ioctl() handler
This is in line with Linux and FreeBSD.
2013-10-31 14:32:25 +01:00
Sebastian Huber 8d66446c2b Filesystem: Documentation 2013-10-31 14:32:24 +01:00
Sebastian Huber 4479006955 libmd: Change MD5Update() prototype
This is in line with the FreeBSD and OpenSSL prototypes.  It helps to
avoid superfluous compiler warnings.
2013-10-31 14:32:24 +01:00
Sebastian Huber 61e3d1ad1e Filesystem: Clear open flag early in close()
This helps to prevent the usage of a file descriptor which is about to
close in some situations.
2013-10-31 14:30:41 +01:00
Sebastian Huber d44d31ca0e Filesystem: Zero flags in rtems_libio_free() 2013-10-31 14:30:37 +01:00
Sebastian Huber b68cef17e0 score: New state STATES_WAITING_FOR_BSD_WAKEUP
This state is necessery to implement the SLEEP(9) FreeBSD kernel API.
2013-10-31 14:29:18 +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
Sebastian Huber 73e734535b IMFS: Use IMFS_mtime_ctime_update() 2013-10-27 18:51:01 +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
Sebastian Huber 5fe19134c0 Filesystem: PR2146: Documentation 2013-10-23 10:59:38 +02:00
Sebastian Huber 8e8b18bb5b libmd: New defines for FreeBSD compatibility 2013-10-22 11:00:04 +02:00
Ralf Kirchner e89ed92495 dosfs: Ensure initially the sector size is used as bdbuf block size 2013-10-18 12:08:00 -04:00
Ralf Kirchner 0098c5221d fsdosfsformat01: Add test for re-mount of a filesystem 2013-10-18 12:07:10 -04:00
Ric Claus 865c307242 Remove double count of start offset 2013-10-17 08:59:55 +02:00
Sebastian Huber b8de8281cb libcsupport: Updates from latest FreeBSD version 2013-10-16 15:19:30 +02:00
Sebastian Huber 9e1d605979 libtests/flashdisk01: Include missing header file 2013-10-16 15:19:27 +02:00
Sebastian Huber 1f724a0309 RFS: Include missing header file 2013-10-16 14:45:00 +02:00
Shubham Somani e4ced53e68 doc: Document format in conf.t 2013-10-15 13:14:13 -04:00
Sebastian Huber 816a9cad30 Filesystem: PR2146: Documentation 2013-10-15 09:10:38 +02:00
Sebastian Huber 3c2bb2238a Return EINVAL in default ftruncate() handler
According to POSIX this case is implementation defined.  Linux and
FreeBSD return EINVAL.
2013-10-11 16:22:00 +02:00
WeiY 33e18a4f4e rename smpatomic08 to smpatomic01 2013-10-08 16:07:22 +02:00
WeiY 27a034ef13 delete smpatomic0-7 test cases 2013-10-08 16:07:21 +02:00
WeiY fee154be37 add simple atomic test cases into smpatomic08 2013-10-08 16:06:59 +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 abceda999d Merge branch 'master' into warnings 2013-09-30 12:09:12 -05: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
Chris Johns 85c855af7e Fix building with RTEMS_DEBUG. 2013-09-30 16:10:45 +10: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 db97feb50d internal.h/main_mdump.c: Convert main methods to static 2013-09-23 08:22:02 -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