Commit Graph

25796 Commits

Author SHA1 Message Date
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
7eb6444d08 smptests/smp06: Delete test
This test referred to the first version of the simple SMP scheduler
which used the thread execution time for its scheduling decisions.  For
the current simple SMP scheduler, the execution time of threads is
irrelevant (like in the corresponding single-processor variant).
2013-11-11 10:29:36 +01:00
Sebastian Huber
8cb28826ff Filesystem: Add kernel event filter handler
This handler is necessary to implement the KQUEUE(2) system calls.

Add <sys/event.h> from FreeBSD 8.4.
2013-11-04 15:22:48 +01:00
Sebastian Huber
1682946057 Filesystem: Add poll() handler
This handler is necessary to implement the SELECT(2) and POLL(2) system
calls.

Add <sys/poll.h> from FreeBSD 8.4.
2013-11-04 15:22:47 +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
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