Commit Graph

26083 Commits

Author SHA1 Message Date
Sebastian Huber
51f823c932 posix: Use interal mutex for once implementation
Enable pthread_once() for all configurations.  The pthread_once()
function is one means to initialize POSIX keys.  Another use case is the
C++ support.
2014-03-19 08:34:26 +01:00
Sebastian Huber
fa3993d92d score: Make _ISR_Enable_without_giant() available
Make _ISR_Enable_without_giant() available for non-SMP configurations.
2014-03-18 13:10:47 +01:00
Sebastian Huber
614cd7a468 rtems: Include missing header file 2014-03-18 10:07:06 +01:00
Sebastian Huber
65c0166faf smptests/smpload01: Use test extension 2014-03-17 13:21:15 +01:00
Andre Marques
27d240e050 New fstest to check rename POSIX conformance
This patch is a newer version of the test presented on

http://www.rtems.org/pipermail/rtems-devel/2014-February/005318.html

Unchecked error cases:

- EIO (physical error)

- ENOSPC (no space left in the new filepath)

- EROFS (already covered on testsuites/fstests/fsrofs01)

Untested functionality:

- File system lock during rename() operation

- If after rename() the link count of a file becomes 0 it should be
removed and the space ocupied by the file shall be freed and no longer
accessible (the function statvfs() gives "not implemented" on the imfs
file system, so this is postponed for now)
2014-03-17 10:21:56 +01:00
Sebastian Huber
d6da1b1ef4 score: Use only next field for chain on/off
It is sufficient to use one field for the chain on/off indication.  The
chain API functions are highly performance critical.
2014-03-17 09:17:37 +01:00
Sebastian Huber
bc75887774 tests/fstests: Use <rtems/test.h> 2014-03-17 09:17:36 +01:00
Sebastian Huber
ad48ebbfc7 tests/smptests: Use <rtems/test.h> 2014-03-17 09:17:36 +01:00
Sebastian Huber
9391f6d663 tests/samples: Use <rtems/test.h> 2014-03-17 09:17:36 +01:00
Sebastian Huber
840ae715a9 sapi: Add <rtems/test.h>
Provide support functions to print the begin/end of test message.
Provide a test fatal extension to print out profiling reports in the
future.
2014-03-17 09:17:36 +01:00
Daniel Cederman
2a37016b89 score: Add include for uintptr_t definition. 2014-03-17 08:36:18 +01:00
Ralf Kirchner
5dc268f96d libchip: Relax buffer counts and add fatal error 2014-03-14 16:01:33 +01:00
Pavel Pisa
fac9da635b bsps/arm: Add DP83848 PHY support to LPC Ethernet 2014-03-14 08:59:27 +01:00
Pavel Pisa
14c3cb642e bsps/arm: Add PHY detection to LPC Ethernet 2014-03-14 08:56:33 +01:00
Pavel Pisa
369bb13bce bsps/arm: Reset MII management in LPC Ethernet
Reduce MII clock to support LPC17XX.
2014-03-14 08:56:33 +01:00
Pavel Pisa
810815c4b7 bsp/lpc24xx: Add LPC24XX_PIN_ETHERNET_POWER_DOWN 2014-03-14 08:56:33 +01:00
Sebastian Huber
986ddf50c2 bsp/lpc24xx: Add lpc24xx_pin_get_first_index() 2014-03-14 08:56:33 +01:00
Sebastian Huber
0bf59cf0ae Add documentation for profiling 2014-03-14 08:46:51 +01:00
Sebastian Huber
4575ae0a40 smptests/smpload01: New test 2014-03-14 08:46:50 +01:00
Sebastian Huber
148d6e9a15 arm: Add support for interrupt profiling 2014-03-14 08:46:50 +01:00
Sebastian Huber
155024265f bsps/powerpc: Add support for interrupt profiling 2014-03-14 08:46:50 +01:00
Sebastian Huber
234eceddbe bsps/leon3: Add interrupt delay profiling support 2014-03-14 08:46:50 +01:00
Sebastian Huber
de5d6d048d sparc: Add support for interrupt profiling 2014-03-14 08:46:50 +01:00
Sebastian Huber
53ad908a64 score: Add SMP lock profiling support 2014-03-14 08:46:49 +01:00
Sebastian Huber
f980561ee0 score: Add per-CPU profiling
Add per-CPU profiling stats API.  Implement the thread dispatch disable
level profiling.  The interrupt profiling must be implemented in CPU
port specific parts (mostly assembler code).  Add a support function
_Profiling_Outer_most_interrupt_entry_and_exit() for this purpose.
2014-03-14 08:46:49 +01:00
Sebastian Huber
350f88dc6e sapi: Add SMP lock profiling app. level data 2014-03-14 08:46:49 +01:00
Sebastian Huber
29c9eb601e sapi: Add per-CPU profiling application level data 2014-03-14 08:46:49 +01:00
Sebastian Huber
4dad4b8411 sapi: Add profiling application level support 2014-03-14 08:46:49 +01:00
Sebastian Huber
eafb040d91 score: Add --enable-profiling configure option 2014-03-14 08:46:48 +01:00
Sebastian Huber
ebb6a8d059 libchip: Include <bsp.h> BSP options definition 2014-03-14 08:43:47 +01:00
Sebastian Huber
9a8bf95b3b libchip: Check interrupt extension availability 2014-03-13 16:47:38 +01:00
Sebastian Huber
062f95328b libchip: Avoid <bsp/utility.h> 2014-03-13 16:47:38 +01:00
Ralf Kirchner
ad010285da bsp/altera-cyclone-v: Made hwlib compile clean
Made Alteras hwlib compile clean within the RTEMS build system
2014-03-13 16:22:04 +01:00
Ralf Kirchner
0b03ca39a4 bsp/altera-cyclone-v: Add Alteras hwlib
Add files from Alteras hwlib
2014-03-13 16:22:04 +01:00
Ralf Kirchner
f73cfe99d0 bsp/altera-cyclone-v: New BSP
Implemented so far:
- nocache heap for uncached RAM
- basic timer
- level 1 cache handling for arm cache controller
  in arm-cache-l1.h
- level 2 L2C-310 cache controller
- MMU
- DWMAC 1000 ethernet controller
- basic errata handling
- smp startup for second core
2014-03-13 16:22:00 +01:00
Ralf Kirchner
4953b72490 libchip: Add dwmac 10/100/1000 network driver 2014-03-13 16:21:55 +01:00
Ralf Kirchner
bbc5527010 libbsp/xilinx-zynq: Share handling for ARM cache controller L2C-310 2014-03-13 16:10:54 +01:00
Ralf Kirchner
9fcd1b3556 bsp/arm: Add handling for level 2 L2C-310 cache controller
arm-l2c-310/cache_.h contains the handling for the L2C-310
level 2 cache controller from arm. It references the arm
level 1 cache handling in the new file arm-cache-l1.h.
2014-03-13 16:10:54 +01:00
Ralf Kirchner
0b74e10fff bsp/arm: Add SCU errata handling for L2C-310 cache 2014-03-13 16:10:54 +01:00
Ralf Kirchner
b0553f473b bsp/xilinx-zynq: Add arm-errata.h and arm-release-id.h 2014-03-13 16:10:54 +01:00
Ralf Kirchner
f2bb3ccbe9 bsp/realview-pbx-a9: Add arm-errata.h and arm-release-id.h 2014-03-13 16:10:54 +01:00
Ralf Kirchner
f2a8b60a4d bsp/raspberrypi: Add arm-errata.h and arm-release-id.h 2014-03-13 16:10:53 +01:00
Ralf Kirchner
deccde31f3 bsp/lpc32xx: Add arm-errata.h and arm-release-id.h 2014-03-13 16:10:53 +01:00
Ralf Kirchner
b87bf0bfc2 bsp/arm: Add arm-errata.h and arm-release-id.h 2014-03-13 16:10:53 +01:00
Ralf Kirchner
f241977b60 bsp/arm: Add linker symbol bsp_processor_count 2014-03-13 16:10:53 +01:00
Ralf Kirchner
0656a00a82 bsp/arm: Add CP15 methods 2014-03-13 16:10:53 +01:00
Ralf Kirchner
a502d67763 bsp/arm: Separate setup for translation table 2014-03-13 16:10:52 +01:00
Ralf Kirchner
f5c106456c bsp/arm: Invalidate SCU 2014-03-13 16:10:52 +01:00
Ralf Kirchner
34568acf68 bsp/arm: SMP support for a9mpcore_clock_cleanup() 2014-03-13 16:10:52 +01:00
Ralf Kirchner
17864a4ae9 bsp/arm: Avoid warning 2014-03-13 16:10:52 +01:00