Sebastian Huber
7adf4941a8
smptests/smpschededf01: New test
...
Update #3056 .
2017-06-29 15:21:30 +02:00
Sebastian Huber
7f7a3e8f70
tests: Move busy loop to test support
...
Update #3056 .
2017-06-29 14:36:58 +02:00
Sebastian Huber
74f9db8887
score: Add RTEMS_NO_INLINE
...
Update #3056 .
2017-06-29 12:08:27 +02:00
Sebastian Huber
f3d9f2288e
score: Add SMP EDF scheduler
...
Update #3056 .
2017-06-29 11:28:32 +02:00
Sebastian Huber
15dbc710b6
score: Add red-black tree node to Scheduler_Node
...
In SMP configurations, add a red-black tree node to Scheduler_Node to
enable an EDF scheduler implementation.
Update #3056 .
2017-06-29 11:15:50 +02:00
Sebastian Huber
1dbce41bb8
smptests: Split smpscheduler03
...
Split smpscheduler03 to run the tests with only one processor.
Update #3056 .
2017-06-29 11:15:38 +02:00
Sebastian Huber
5bfeab951c
Add rtems_interrupt_server_handler_iterate()
2017-06-26 08:23:33 +02:00
Joel Sherrill
b8b4b7d429
psxstat/test.c: Avoid potential string overflow
2017-06-21 12:50:31 -05:00
Joel Sherrill
9d945b5fff
psximfs02/init.c: Avoid potential string overflow
2017-06-21 12:50:31 -05:00
Joel Sherrill
d6cb813d33
dl03/dl-cache.c: Fix duplicate const warning
2017-06-21 12:50:31 -05:00
Joel Sherrill
d8b548160f
sys/utsname.h: Increase buffer to avoid overflow
2017-06-21 12:50:31 -05:00
Joel Sherrill
ec230fc77f
i386/shared/comm/i386-stub-glue.c: Fix duplicate const warning
2017-06-21 12:50:30 -05:00
Joel Sherrill
91774269db
lpc176x/misc/restart.c: Fix duplicate const warning
2017-06-21 12:50:30 -05:00
Joel Sherrill
d93181a059
malloctest/init.c: Disable check maximum size warning to allow error test case
2017-06-21 12:50:30 -05:00
Joel Sherrill
9761b98dcc
capture/rtems-trace-buffer-vars.c: Fix duplicate const warning
2017-06-21 12:50:30 -05:00
Joel Sherrill
5700d8ba52
top/task1.c: Fix sprintf() buffer overflow
2017-06-21 12:50:30 -05:00
Joel Sherrill
a5d31fe642
rbheap01/init.c: Fix PAGE_SIZE redefined warning
2017-06-21 12:50:29 -05:00
Sebastian Huber
d30c2cc288
powerpc: Fix PPC_CONTEXT_VOLATILE_SIZE
...
Account for legacy AltiVec context.
2017-06-20 13:04:54 +02:00
Sebastian Huber
ae3e6af82a
powerpc: Fix TLS support
...
Do not zero the GPR2 in the thread context via dcbz instructions. Bug
was introduced by 32b4a0c427 .
2017-06-20 10:41:39 +02:00
Sebastian Huber
c6810c824c
bsps: Improve interrupt vector enable/disable API
...
Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable()
to not return a status code. Add bsp_interrupt_assert() and use it to
validate the vector number in the vector enable/disable implementations.
2017-06-20 07:42:25 +02:00
Sebastian Huber
b361cb6c4d
bsps/powerpc: Fix warning
...
Close #3051 .
2017-06-16 06:22:55 +02:00
Sebastian Huber
ae359a9df4
shell: Display scheduler instead of current CPU
...
Display the scheduler name instead of the current CPU in the "task"
shell command. The current CPU could be misleading in case locking
protocols are involved. The "cpuuse" command can be used to obtain the
current CPU.
2017-06-16 06:13:50 +02:00
Sichen Zhao
369372c3ee
Fix beagle i2c file bbb-i2c.c comment issues
2017-06-15 15:01:31 -05:00
Sichen Zhao
8f550d2fa1
Add the i2c driver for Beaglebone Black
...
Update ticket #2891 and my GSOC project
add c/src/lib/libbsp/arm/beagle/i2c/bbb-i2c.c
modify c/src/lib/libbsp/arm/beagle/include/i2c.h
modify c/src/lib/libbsp/arm/beagle/include/bbb-gpio.h
modify c/src/lib/libcpu/arm/shared/include/am335x.h
modify c/src/lib/libbsp/arm/beagle/Makefile.am
Now can read the EEPROM by i2c, the test application link is: https://github.com/hahchenchen/GSOC-test-application
2017-06-14 12:11:31 -05:00
Sichen Zhao
7741545bfc
Remove beagle old i2c code
...
modify c/src/lib/libbsp/arm/beagle/Makefile.am
modify c/src/lib/libbsp/arm/beagle/include/i2c.h
delete c/src/lib/libbsp/arm/beagle/misc/i2c.c
2017-06-14 11:47:58 -05:00
Alexei Pososin
fd10817a83
Remove excessive locking from cache operations.
...
According to manual, the used operations (Clean Line by PA, Clean and
Invalidate Line by PA, Cache Sync) are atomic and do not require
locking.
Update #3007 .
2017-06-14 15:37:58 +02:00
Sebastian Huber
3dd67dd16e
score: Remove rtems_ada_self
...
This task variable is superfluous since we use thread-local storage now.
Update #2289 .
2017-06-14 07:30:46 +02:00
Sebastian Huber
4000836c03
tests: Fix build dependencies
...
See also:
https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html
2017-06-13 13:01:03 +02:00
Sebastian Huber
c7377381f4
xz: Use CRC32
...
This reverts c475924d6d .
Update #2909 .
Close #2994 .
2017-06-13 11:45:23 +02:00
Sebastian Huber
3f884b455f
bsp: Fixes due to header file changes
...
Update #2833 .
2017-06-13 11:38:39 +02:00
Sebastian Huber
0af8bb6c37
bsp: Include missing <sys/param.h>
...
Update #2833 .
2017-06-12 15:40:53 +02:00
Sebastian Huber
74a13c86ea
bsp/beatnik: Fixes due to header file changes
...
Update #2833 .
2017-06-12 15:30:54 +02:00
Sebastian Huber
86c100439c
network: Remove FreeBSD specific hack
...
For whatever reason FreeBSD renames several functions provided by
<arpa/inet.h> and uses weak references to provide the standard function
names. This causes problems on targets lacking proper support for weak
references. We do not need this function renaming on RTEMS.lk:x
Update #2833 .
2017-06-12 14:03:54 +02:00
Sebastian Huber
7b0c74ffb0
i386: Support thread-local storage (TLS)
...
Update #2468 .
2017-06-12 08:01:58 +02:00
Sebastian Huber
cb0d9a0747
i386: Move _CPU_Context_Initialize()
...
Update #2468 .
2017-06-09 08:28:46 +02:00
Sebastian Huber
f256685aa3
bsp/psim: Include missing <sys/param.h>
2017-06-09 07:55:16 +02:00
Sebastian Huber
6081ef31ae
if_fxp: Include missing <inttypes.h>
...
Fix format warnings.
2017-06-09 07:54:45 +02:00
Sebastian Huber
f7d0f5e1ad
spcpuset01: Update due to CPU_CMP() changes
...
Close #3036 .
2017-06-09 07:50:41 +02:00
Sebastian Huber
32b4a0c427
Simplify TLS support in context switch
...
There is no need to save the thread pointer in _CPU_Context_switch()
since it is a thread invariant. It is initialized once in
_CPU_Context_Initialize().
2017-06-09 07:30:41 +02:00
Sebastian Huber
a66accc553
libblock: FreeBSD kernel-space compatibility
...
Update #2833 .
2017-06-08 11:42:00 +02:00
Stavros Passas
2585347189
network: Fix DHCP client protocol
...
Close #2877 .
2017-06-08 10:06:33 +02:00
Christian Mauderer
ce3ac00cfc
bsps/arm: Fix ARMv7-M interrupt suppport
...
Enable/disable vector routines now check for a valid vector. Without
these guards, the enable/disable vector routines will not work with the
interrupt server.
2017-06-07 13:22:12 +02:00
Sebastian Huber
b06dbb2658
spcpuset01: Update due to CPU_NAND_S() changes
...
Close #3032 .
2017-06-07 13:02:22 +02:00
Sebastian Huber
836f4545dc
Fix CPU_COPY() usage
...
The original CPU_COPY() support of Newlib <sys/cpuset.h> had the
parameters in the wrong order. This is fixed in Newlib since
2017-05-22.
Update #3023 .
2017-06-07 13:02:22 +02:00
Sebastian Huber
26ccd139dc
network: Header file compatiblity
...
Move legacy network stack implementation specifics to
<rtems/rtems_bsdnet_internal.h>. Include missing header files. Add
interface flags compatibility.
Update #2833 .
2017-06-07 13:02:21 +02:00
Sebastian Huber
e744c36c3f
network: Use inet_ntoa_r()
...
Update #2833 .
2017-06-07 13:02:21 +02:00
Sebastian Huber
9b035a0a4a
network: Update <arpa/inet.h>
...
Update #2833 .
2017-06-07 13:02:21 +02:00
Sebastian Huber
3bc19384a7
network: Move header files
...
Prevent accidental use of legacy network header files.
Update #2833 .
2017-06-07 13:02:20 +02:00
Sebastian Huber
d4ab0aef96
network: Move RTEMS specifics
...
Move RTEMS specifics to <rtems/rtems_bsdnet.h>.
Introduce rtems_tap_ifreq. The interface tap support is RTEMS-specific
and only available in the legacy network stack.
Update #2833 .
2017-06-07 13:02:20 +02:00
Sebastian Huber
d7613f7a18
network: Include <sys/uio.h> explicitly
...
Do not rely on indirect includes via other header files.
Update #2833 .
2017-06-07 13:02:19 +02:00