Daniel Ramirez
bb81e04ae3
statvfs and ALL filesystem handlers: Add restrict keyword.
2013-11-21 16:56:48 -06:00
Sebastian Huber
4ea97d2449
score/rbtree: Remove "unprotected" from API
2013-11-21 12:58:46 +01:00
Sebastian Huber
833dd90335
score/rbtree: Delete protected operations
...
The user of the red-black tree container must now ensure that at most
one thread at once can access an instance.
2013-11-21 12:58:46 +01:00
Sebastian Huber
eea7c93706
scheduler/EDF: Use unprotected insert and extract
...
Interrupts are disabled by the caller _Thread_Change_priority() or
_Thread_Set_transient() or directly in the scheduler operation. Thus
there is no need to use protected variants.
2013-11-21 12:58:45 +01:00
Daniel Ramirez
14876018c3
select.h, rtems_select.c, nds select: Add restrict keyword
2013-11-20 18:24:48 -06:00
Joel Sherrill
5124d64acd
sparc.t: Correct for V8/V9
2013-11-20 15:26:11 -06:00
Joel Sherrill
d0beb9bac4
Misc tests: Fix scn files and adjust output
2013-11-18 10:55:24 -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
Sebastian Huber
8dc2e7bd7e
powerpc: Do not validate reserved XER bits
2013-11-18 14:56:43 +01:00
Sebastian Huber
3a7628e86a
score: Objects_Information::extract visibility
...
This filed is only used if RTEMS_MULTIPROCESSING is defined.
2013-11-18 14:56:43 +01:00
Sebastian Huber
435f2c056b
libtests/malloctest: Fix heap extend test case
2013-11-18 14:56:43 +01:00
Sebastian Huber
85b5264211
heapgetinfo: Free all delayed blocks
2013-11-18 14:56:42 +01:00
Joel Sherrill
a136fb697d
testsuites: Add missing .scn files
2013-11-15 11:55:44 -06:00
Joel Sherrill
892abd53f9
Rename imfs_fspathenval.scn to imfs_fspatheval.scn
2013-11-15 11:55:44 -06:00
Ralf Kirchner
a45b2ac992
fsdosfsname01: Improve test for duplicate names
2013-11-15 14:05:59 +01:00
Joel Sherrill
f8a39cdc5f
no_cpu/.../cpu.h: Comment improvement
2013-11-14 17:27:13 -06:00
Joel Sherrill
bd90283947
mips/.../cpu.h: Comment improvement
2013-11-14 17:26:31 -06: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
17ba41982a
monitor: Add support for BSD wakeup state
2013-11-14 15:58:03 +01: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
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