Sebastian Huber
c07481c7df
bsp/leon3: Fix Termios context usage
...
Only the context of the console device was used and this is wrong in
case more than one APBUART device is available.
2015-10-20 11:29:57 +02:00
Sebastian Huber
e29f1f551c
bsp/qoriq: Use U-Boot provided FDT
2015-10-19 09:51:28 +02:00
Sebastian Huber
c03c71b170
libfdt: Merge into librtemscpu
...
This allows BSPs to use this library.
2015-10-19 09:51:28 +02:00
Sebastian Huber
0b0969efc3
bsp/qoriq: Simplify initialization
2015-10-19 09:51:28 +02:00
Sebastian Huber
36b9f66861
bsp/qoriq: Initialize FPU on secondary thread
2015-10-19 09:51:28 +02:00
Sebastian Huber
175263ec91
libfdt: Initial import
...
Import from:
git://git.kernel.org/pub/scm/utils/dtc/dtc.git
Commit:
604e61e081e3c6c8fa1a8189c71cb3908a5bbc1e
Date:
2015-09-29T09:09:08Z
2015-10-16 07:46:56 +02:00
Sebastian Huber
54406d9f6c
Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
...
This define accidentally re-appeared.
2015-10-15 11:56:15 +02:00
Sebastian Huber
2f5e3c72b1
bsp/qoriq: Add missing isync after mtmsr
2015-10-15 10:45:20 +02:00
Sebastian Huber
cff773f580
libstdthreads: Add C11 threads
2015-10-14 07:47:12 +02:00
Sebastian Huber
e3330899f3
libstdthreads: Import from FreeBSD
2015-10-14 07:47:12 +02:00
Sebastian Huber
27390a29a5
bsps/arm: Add missing translation table entry
...
See also bc82094679 .
2015-10-14 07:46:23 +02:00
Sebastian Huber
cf8e03388b
bsp/qoriq: Add nocache heap
2015-10-08 13:35:27 +02:00
Sebastian Huber
bc82094679
bsps: Add .nocacheheap section
...
This avoids consumption of a loadable address space for the nocache
heap.
2015-10-08 13:34:40 +02:00
Sebastian Huber
707ecbe4ec
bsp/qoriq: Add BMan and QMan Portals
2015-10-07 13:53:15 +02:00
Sebastian Huber
01531fb6a7
bsp/qoriq: Initilize FPU
2015-10-07 13:38:59 +02:00
Sebastian Huber
55c8d19d7b
bsp/qoriq: Move BUCSR initialization
2015-10-07 09:52:04 +02:00
Sebastian Huber
6959e663e4
epiphany: Delete CPU_UNROLL_ENQUEUE_PRIORITY
2015-10-07 09:13:23 +02:00
Sebastian Huber
ba1ed5240b
SMP: Optimize ticket lock implementation
...
This reverts the relevant part of commit
da06fe948c . The acquire/release order is
superfluous for the next ticket increment. The mutual exclusion is
guaranteed by the acquire load from and release store to the next
serving atomic variable.
2015-10-02 08:05:21 +02:00
Sebastian Huber
08317ef3ff
powerpc: Use wrtee for e6500 multilib
...
This reduces the code size.
2015-10-02 07:30:13 +02:00
Sebastian Huber
f91fbbf4b8
bsps/i386: Interrupt server support
2015-09-30 15:30:09 +02:00
Sebastian Huber
258ad71e96
SMP: Fix and optimize thread dispatching
...
According to the C11 and C++11 memory models only a read-modify-write
operation guarantees that we read the last value written in modification
order. Avoid the sequential consistent thread fence and instead use the
inter-processor interrupt to set the thread dispatch necessary
indicator.
2015-09-28 13:56:57 +02:00
Sebastian Huber
aee6a1d05f
SMP: Simplify thread lock operations
2015-09-28 07:45:54 +02:00
Sebastian Huber
8d296cd54e
score: Use uintptr_t for atomic pointer operations
...
Do not obfuscate the standard API.
2015-09-26 21:23:53 +02:00
Gedare Bloom
5458bff929
bootstrap: regenerate preinstall.am
2015-09-25 16:36:52 -04:00
Andre Marques
7aca0fefce
RaspberryPi: Added I2C and SPI bus support.
...
Further documentation can be found in
https://devel.rtems.org/wiki/GSoC/2015/RaspberryPi_peripherals_and_SD_card
and test data (including sample user applications, device drivers and wiring schemes) can be found in
https://github.com/asuol/RTEMS_rpi_testing
2015-09-25 16:36:52 -04:00
Andre Marques
f7ea9579ad
Added GPIO API sources to rpi Makefile
2015-09-25 16:36:52 -04:00
Andre Marques
a57b72ded9
Removed GPIO API from the libbsp/shared Makefile.
2015-09-25 16:36:52 -04:00
Sebastian Huber
1f7c5c88ca
score: Fix atomic compare exchange
2015-09-25 21:48:24 +02:00
Martin Galvan
f52885b6bc
ARMv7M: Improve exception handler routine and add comments on SP selection
...
This patch adds a brief description of how context state is saved into the
SP on exception entry, and makes a few changes to _ARMV7M_Exception_default
in order to make it a bit more efficient. I also removed the unused 'v7mfsz'
input parameter.
This should apply over Sudarshan's patch.
2015-09-23 14:53:25 +02:00
Sudarshan Rajagopalan
7263a50d6c
Fix exception handler for supporting FPU
2015-09-23 14:52:55 +02:00
Sebastian Huber
314ff3c43f
score: Fix resource count for self-contained mutex
2015-09-14 08:30:09 +02:00
Sebastian Huber
10c4636947
rbheap: Fix rtems_rbheap_free()
...
Remove unused descriptor of merged free chunks from the free chain and
add them to the spare descriptors.
Close #2417 .
2015-09-11 11:28:13 +02:00
Sebastian Huber
5e4714b032
libtests/rbheap01: Simplify
...
Update #2417 .
2015-09-11 11:27:33 +02:00
Sebastian Huber
808230add9
Upgrade to 4.11.99.0
2015-09-11 08:24:18 +02:00
Marcos Diaz
bebfc4209b
Beaglebone: fix missing clobber in inline assembly.
...
flush_data_cache uses R0 directly but doesn't list it as a clobbered
register. Compiling with -O3 made this code break, since the function
that calls flush_data_cache already uses r0.
closes #2416 .
2015-09-10 13:21:41 -05:00
Joel Sherrill
cf2f3834a3
lpc23xx_tli800: Add mdosfs_fsscandir01 to tests to avoid. Does not link.
2015-09-10 11:03:43 -07:00
Sebastian Huber
fc5e52b938
bsps/arm: Fix function definition
...
Close #2385 .
2015-09-04 13:50:28 +02:00
Sebastian Huber
252e244e6d
smp: Documentation
2015-09-04 13:47:30 +02:00
Sebastian Huber
e1769f2764
smp: Documentation
...
Close #2274 .
2015-09-04 13:44:47 +02:00
Sebastian Huber
dafa5d8843
score: Implement priority boosting
2015-09-04 13:26:17 +02:00
Sebastian Huber
3995e6d9c2
score: Implement SMP-specific priority queue
2015-09-04 13:25:03 +02:00
Sebastian Huber
c4db18a0bb
score: Documentation
2015-09-04 13:14:54 +02:00
Sebastian Huber
cee82dfb26
smp: Documentation
2015-09-04 13:14:50 +02:00
Sebastian Huber
06496fba0a
smp: Documentation
2015-09-04 13:09:17 +02:00
Martin Galvan
41b5c915e3
cpukit/libmisc/dumpbuf/dumpbuf.c: Fix compilation warnings
...
Compiling dumpbuf.c causes the following warning to be issued:
warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
This happens because line_buffer is declared as unsigned.
Closes #2411 .
2015-09-03 16:09:02 -05:00
Martin Galvan
28a870c47f
cpukit/libnetworking/rtems/rtems_dhcp.c: Fix compilation error
...
Apparently 'free' is defined as a macro which takes two arguments and calls
rtems_bsdnet_free. When fixing #2405 I added a missing 'free' but didn't notice
it was non-standard.
Closes #2410 .
2015-09-03 15:42:41 -05:00
Martin Galvan
cc93c83e00
cpukit/libmisc/dumpbuf/dumpbuf.c: Fix undefined behavior for sprintf()
...
I also used the 'n' versions of the string functions, #define'd magic numbers
and added a few comments.
Updates #2405 .
2015-09-03 12:33:28 -05:00
Martin Galvan
9147a825d6
tools/cpu/nios2/ptf.c: Fix leak of memory pointed to by new_prefix
...
Updates #2405 .
2015-09-03 12:33:25 -05:00
Martin Galvan
c83bad2fc4
cpukit/libnetworking/rtems/rtems_dhcp.c: Fix leak on realloc failure for dhcp_hostname.
...
Closes #2405 .
2015-09-03 11:28:10 -05:00
Martin Galvan
17f71fc780
tools/cpu/nios2/memory.c: Fix uninitialized use of variable memory
...
Updates #2405 .
2015-09-03 11:28:06 -05:00