The heap protection enabled by RTEMS_DEBUG offers the same functionality
and more.
---
cpukit/rtems/src/regionreturnsegment.c | 20
1 file changed, 20 deletions(-)
diff --git a/cpukit/rtems/src/regionreturnsegment.c
b/cpukit/rtems/src/regionreturnsegment.c
index
---
cpukit/libmisc/monitor/mon-region.c | 2 +-
cpukit/rtems/include/rtems/rtems/region.h | 1 -
cpukit/rtems/src/regioncreate.c | 7 +++
3 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/cpukit/libmisc/monitor/mon-region.c
b/cpukit/libmisc/monitor/mon-region.c
Works also with previous Newlib versions.
---
cpukit/libmisc/shell/main_date.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cpukit/libmisc/shell/main_date.c b/cpukit/libmisc/shell/main_date.c
index 9b970a6..6070ff0 100644
--- a/cpukit/libmisc/shell/main_date.c
+++
Update #2555.
---
cpukit/score/src/mpci.c | 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c
index c191bbe..3929d78 100644
--- a/cpukit/score/src/mpci.c
+++ b/cpukit/score/src/mpci.c
@@ -237,16 +237,19 @@
Replace _Objects_Name_to_id_string() with _Objects_Get_by_name() since
all users of this function are interested in the object itself and not
the identifier.
Use the object allocator lock to protect the search.
Update #2555.
---
cpukit/posix/include/rtems/posix/mqueueimpl.h| 21 +
just in your local queue. I
didn't look into the details, but I think this is enough for strong APA.
See also _Scheduler_priority_affinity_SMP_Check_for_migrations().
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 4
* libc/include/sys/_sigset.h: New.
* libc/include/sys/select.h: Do not include and
to avoid cyclic header file dependencies. Include
specialized header files instead.
(sigset_t): Conditionally define.
* libc/include/sys/signal.h (sigset_t):
Yields higher performance on SMP systems.
Close #2625.
---
cpukit/libcsupport/src/resource_snapshot.c | 27 ++---
cpukit/posix/Makefile.am | 2 +-
cpukit/posix/include/rtems/posix/key.h | 20 ++--
cpukit/posix/include/rtems/posix/keyimpl.h | 162
od of testing you plan to
use? Not the tests just the set up details, eg is this with the
scheduler simulator, qemu, or real hardware or all listed plus also
which architectures?
We can use Qemu and the hardware here in our office.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D
This function is used by LibreSSL and OpenSSH and is provided by the
OpenBSD libc.
* libc/include/string.h (timingsafe_bcmp): Declare.
* libc/string/timingsafe_bcmp.c: New file.
* libc/string/Makefile.am: Add new file.
* libc/string/Makefile.in: Regenerate.
---
SMP is moving fast right now. Sebastian Huber may have more to say on
whether anything is worth trying for GSoC.
SMP and GSoC is maybe something for next year. The condition variables
are not suitable as a GSoC project.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puc
;
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im
ve
a look?
Its already fixed on the master.
https://git.rtems.org/rtems-tools/commit/?id=f027f37661fc8c12ab07f92982f0c86e4e0717de
From my point of view we should not use branches for the RTEMS Tools
and RSB.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Ger
This function is used by LibreSSL and OpenSSH and is provided by the
OpenBSD libc.
* libc/include/string.h (timingsafe_memcmp): Declare.
* libc/string/timingsafe_memcmp.c: New file.
* libc/string/Makefile.am: Add new file.
* libc/string/Makefile.in: Regenerate.
---
This guard is used by FreeBSD for example. The FreeBSD
network stack is used in RTEMS.
* newlib/libc/include/sys/types.h (ssize_t): Guard by
_SSIZE_T_DECLARED.
---
newlib/libc/include/sys/types.h | 4
1 file changed, 4 insertions(+)
diff --git
On 21/03/16 17:53, Joel Sherrill wrote:
On Mon, Mar 21, 2016 at 7:33 AM, Sebastian Huber
<sebastian.hu...@embedded-brains.de
<mailto:sebastian.hu...@embedded-brains.de>> wrote:
On 21/03/16 13:31, Joel Sherrill wrote:
On Mon, Mar 21, 2016 at 1:26 AM, Seb
---
cpukit/posix/src/pthreadexit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpukit/posix/src/pthreadexit.c b/cpukit/posix/src/pthreadexit.c
index 6b3a09a..6f8a7a7 100644
--- a/cpukit/posix/src/pthreadexit.c
+++ b/cpukit/posix/src/pthreadexit.c
@@ -75,4 +75,5 @@ void pthread_exit(
)
{
---
cpukit/score/include/rtems/score/basedefs.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/cpukit/score/include/rtems/score/basedefs.h
b/cpukit/score/include/rtems/score/basedefs.h
index facaed9..5d7f5b4 100644
--- a/cpukit/score/include/rtems/score/basedefs.h
+++
with
the exception of the strong APA scheduler optimization.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request
---
cpukit/libmisc/monitor/mon-sema.c | 7 ++-
cpukit/posix/src/semaphorecreatesupp.c | 1 -
cpukit/rtems/src/semcreate.c | 1 -
cpukit/score/include/rtems/score/coresem.h | 13 -
cpukit/score/include/rtems/score/coresemimpl.h | 4
Allow network tasks to run with priority 0 (PRIORITY_PSEUDO_ISR).
---
cpukit/libnetworking/rtems/rtems_glue.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/cpukit/libnetworking/rtems/rtems_glue.c
b/cpukit/libnetworking/rtems/rtems_glue.c
index 1355fbb..b50f734 100644
---
Make sure that the thread proxy is registered as the mutex owner.
---
cpukit/score/src/coremutexsurrender.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/cpukit/score/src/coremutexsurrender.c
b/cpukit/score/src/coremutexsurrender.c
index 744adc5..da21d4b 100644
Bug introduced by be8897644043e4378db7add02c3c9e1ac7fde563.
Update #2555.
---
cpukit/score/src/objectmp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/score/src/objectmp.c b/cpukit/score/src/objectmp.c
index be55fa7..c8f431f 100644
--- a/cpukit/score/src/objectmp.c
---
cpukit/score/src/mpci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c
index 132d3e5..76ca4c8 100644
--- a/cpukit/score/src/mpci.c
+++ b/cpukit/score/src/mpci.c
@@ -343,6 +343,8 @@ void _MPCI_Receive_server(
);
for ( ; ; ) {
---
cpukit/sapi/include/confdefs.h| 4 +++-
cpukit/score/src/threadmp.c | 40 +--
cpukit/score/src/threadqenqueue.c | 11 ++-
3 files changed, 43 insertions(+), 12 deletions(-)
diff --git a/cpukit/sapi/include/confdefs.h
---
cpukit/sapi/include/confdefs.h | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 89beb23..2366c7a 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -1919,13
Not to be committed. How can we fix this?
---
cpukit/sapi/include/confdefs.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 6d67a02..715d4fc 100644
--- a/cpukit/sapi/include/confdefs.h
+++
ks pretty good.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine gesc
the concept and theory of phase fair RW locks from
reference suggested in RTEMS(
http://www.mpi-sws.org/~bbb/papers/pdf/rtsj11.pdf
<http://www.mpi-sws.org/%7Ebbb/papers/pdf/rtsj11.pdf>)
On Mon, Mar 21, 2016 at 12:02 PM, Sebastian Huber
<sebastian.hu...@embedded-brains.de
<mailto:
On 21/03/16 13:31, Joel Sherrill wrote:
On Mon, Mar 21, 2016 at 1:26 AM, Sebastian Huber
<sebastian.hu...@embedded-brains.de
<mailto:sebastian.hu...@embedded-brains.de>> wrote:
On 20/03/16 21:40, Joel Sherrill wrote:
---
cpukit/libstdthread
Use the default thread lock to protect rate-monotonic state changes.
his avoids use of the Giant lock. Split rtems_rate_monotonic_period()
body into several static functions. Introduce a new thread wait class
THREAD_WAIT_CLASS_PERIOD for period objects to synchronize the blocking
operation.
On 22/03/16 15:23, Joel Sherrill wrote:
On Tue, Mar 22, 2016 at 8:56 AM, Sebastian Huber
<sebastian.hu...@embedded-brains.de
<mailto:sebastian.hu...@embedded-brains.de>> wrote:
Hello,
I am currently busy with eliminating the Giant lock for SMP. I
came acro
and rtems_configuration_is_smp_enabled().
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche
not expose any implementation details via
. Its bad that the struct bintime is visible via this include.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP
On 22/03/16 16:21, Joel Sherrill wrote:
Please commit your RTEMS_UNREACHABLE so I can use it. ::)
I committed a slightly modified version that includes the assert. So,
this will probably conflict with one of your patches.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D
On 03/03/16 16:18, Joel Sherrill wrote:
On Thu, Mar 3, 2016 at 9:14 AM, Sebastian Huber
<sebastian.hu...@embedded-brains.de
<mailto:sebastian.hu...@embedded-brains.de>> wrote:
On 03/03/16 16:12, Joel Sherrill wrote:
Other than bookkeeping, what is this goin
4/share/rtems/html/FAQ/FAQ00100.html
We have multiple date/time and interval representations in the score,
classic and
POSIX APIs. It would be good to capture them again.
Yes, this is on my TODO list along with the year 2038 problem.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr.
.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im
for a GSoC project.
Even adding SMP support to new architectures shouldn't be a big deal.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP
Rename Per_CPU_Control::started into Per_CPU_Control::online to match
standard nomenclature.
---
cpukit/score/include/rtems/score/percpu.h | 6 +++---
cpukit/score/src/smp.c| 4 ++--
cpukit/score/src/threadcreateidle.c | 2 +-
3 files changed, 6 insertions(+), 6
Update #2554.
---
cpukit/score/include/rtems/score/percpu.h | 8 +++
cpukit/score/include/rtems/score/smpimpl.h | 48 +++-
cpukit/score/src/percpu.c | 92 +++---
cpukit/score/src/smp.c | 23
---
cpukit/score/include/rtems/score/smpimpl.h | 11 +++
cpukit/score/src/smp.c | 5 -
testsuites/smptests/smpipi01/init.c| 10 ++
3 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/cpukit/score/include/rtems/score/smpimpl.h
---
cpukit/score/Makefile.am | 1 +
cpukit/score/include/rtems/score/processormask.h | 90
cpukit/score/preinstall.am | 4 ++
3 files changed, 95 insertions(+)
create mode 100644
Maximum number of processors of all systems supported by this CPU port.
---
cpukit/score/cpu/arm/rtems/score/cpu.h | 2 ++
cpukit/score/cpu/bfin/rtems/score/cpu.h | 2 ++
cpukit/score/cpu/epiphany/rtems/score/cpu.h | 2 ++
cpukit/score/cpu/i386/rtems/score/cpu.h | 2 ++
On 03/03/16 16:08, Joel Sherrill wrote:
The git log message needs more but it looks good otherwise.
Ok, I had to add this for the Cortex-A9 MPCore which has per-processor
registers for the global timer used by the clock driver. This might be
useful for other drivers as well.
--
Sebastian
---
cpukit/score/include/rtems/score/percpu.h | 19 +++
cpukit/score/src/smp.c| 2 ++
2 files changed, 21 insertions(+)
diff --git a/cpukit/score/include/rtems/score/percpu.h
b/cpukit/score/include/rtems/score/percpu.h
index 2b05b78..19f46d2 100644
---
This patch set replaces the Watchdog Handler implementation based on delta
chains with a red-black tree. The existing red-black tree infrastructure is
reused. Performance results are quite good.
See also:
https://devel.rtems.org/ticket/2554
___
devel
.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne
configuration.
The boot processor is the processor that performs the sequential system
initialization. This name is used in several other places.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41
Thanks a lot for your review.
- Gedare Bloom schrieb:
> I scanned through most of it. I just have a few minor issues/questions:
>
> There is an _Assert(0) followed by a TODO. This _Assert() is likely
> dead/untested code block. It may be worth fabricating a fatal test for
>
This simplifies the handling with local-only objects.
Update #2555.
---
cpukit/posix/include/rtems/posix/timerimpl.h | 4 +-
cpukit/posix/src/timerdelete.c| 36 +
cpukit/posix/src/timergetoverrun.c| 26 -
cpukit/posix/src/timergettime.c
On 07/03/16 16:05, Joel Sherrill wrote:
On Mar 7, 2016 12:03 AM, "Sebastian Huber"
<sebastian.hu...@embedded-brains.de
<mailto:sebastian.hu...@embedded-brains.de>> wrote:
>
> Hello,
>
>
> On 06/03/16 19:17, Joel Sherrill wrote:
>>
&
- Am 7. Mrz 2016 um 20:07 schrieb Joel Sherrill j...@rtems.org:
> On Mon, Mar 7, 2016 at 12:04 PM, Isaac Gutekunst
> wrote:
>
>> Hi Developers,
>>
>> We have used IMFS_GENERIC_INITIALIZER as part of some code that makes IMFS
>> nodes for devices.
The IMFS
https://devel.rtems.org/ticket/2630
Use an ISR lock to protect the state of Classic Rate Monotonic objects
https://devel.rtems.org/ticket/2631
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E
On 04/03/16 20:12, Joel Sherrill wrote:
On Fri, Mar 4, 2016 at 12:25 AM, Sebastian Huber
<sebastian.hu...@embedded-brains.de
<mailto:sebastian.hu...@embedded-brains.de>> wrote:
On 03/03/16 23:44, Joel Sherrill wrote:
>
> "be pl
the only one necessary.
[...]
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine g
CTIONS {
.vector : ALIGN_WITH_INPUT {
-*(.vector)
+KEEP (*(.vector))
. = ALIGN(bsp_vector_table_size);
bsp_section_vector_end = .;
} > REGION_VECTOR AT > REGION_VECTOR
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phon
Hello,
the psim simulator script requires a RTEMS_SHM_SEMAPHORE_KEY and
RTEMS_SHM_KEY. Does anyone know how to set up this?
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail
This field was only by the monitor in non-multiprocessing
configurations. Add new field Thread_Wait_information::remote_id in
multiprocessing configurations and use it for the remote procedure call
thread queue.
Add _Thread_Wait_get_id() to obtain the object identifier for debug and
system
Do not save and restore the thread wait information. This is
superfluous and may overwrite thread wait information updates due to
interrupts leading to system corruption.
---
cpukit/posix/src/psignal.c | 31 +++
1 file changed, 11 insertions(+), 20 deletions(-)
diff
This function is not used in the score.
Update #2555.
---
cpukit/sapi/include/rtems/chain.h| 10 ---
cpukit/sapi/src/chainprotected.c | 4 +--
cpukit/score/Makefile.am | 2 +-
cpukit/score/include/rtems/score/chainimpl.h | 19
Use a red-black tree to lookup active global objects by identifier or
name.
Update #2555.
---
cpukit/sapi/include/confdefs.h | 9 -
cpukit/score/include/rtems/score/object.h | 46 ++-
cpukit/score/include/rtems/score/objectimpl.h | 16 +-
This function is not used in the score.
Update #2555.
---
cpukit/sapi/Makefile.am | 2 +-
cpukit/sapi/include/rtems/chain.h| 10 --
cpukit/sapi/src/chainprotected.c | 139 +++
cpukit/sapi/src/chainsmp.c |
---
cpukit/posix/Makefile.am | 2 +-
cpukit/posix/include/rtems/posix/psignalimpl.h | 9 --
cpukit/posix/src/psignal.c | 74
cpukit/posix/src/psignalchecksignal.c | 113 -
4 files changed, 75
---
cpukit/posix/include/rtems/posix/keyimpl.h | 14 ++
cpukit/posix/src/keygetspecific.c | 15 ++-
cpukit/posix/src/keysetspecific.c | 29 +
cpukit/score/include/rtems/score/rbtree.h | 12
4 files changed, 37
Use an ISR lock to protect the partition state changes.
Update #2555.
---
cpukit/rtems/include/rtems/rtems/part.h | 3 ++
cpukit/rtems/include/rtems/rtems/partimpl.h | 73 ++---
cpukit/rtems/src/partcreate.c | 15 +++---
cpukit/rtems/src/partdelete.c
Update #2555.
---
cpukit/score/include/rtems/score/thread.h | 6 +-
cpukit/score/include/rtems/score/threadmp.h | 29 +
cpukit/score/src/threadmp.c | 162 +---
testsuites/sptests/spsize/size.c| 5 -
4 files changed, 106 insertions(+),
This function is not used in the score.
Update #2555.
---
cpukit/sapi/include/rtems/chain.h| 10 ---
cpukit/sapi/src/chainprotected.c | 4 +--
cpukit/score/Makefile.am | 2 +-
cpukit/score/include/rtems/score/chainimpl.h | 19
This function is not used in the score.
Update #2555.
---
cpukit/sapi/include/rtems/chain.h| 10 ---
cpukit/sapi/src/chainprotected.c | 4 ---
cpukit/score/Makefile.am | 1 -
cpukit/score/include/rtems/score/chainimpl.h | 25
This function is not used in the score.
Update #2555.
---
cpukit/sapi/include/rtems/chain.h| 10 --
cpukit/sapi/src/chainprotected.c | 4 ---
cpukit/score/Makefile.am | 2 +-
cpukit/score/include/rtems/score/chainimpl.h | 13 ---
This function is not used in the score.
Update #2555.
---
cpukit/sapi/include/rtems/chain.h| 9 ---
cpukit/sapi/src/chainprotected.c | 4 ++--
cpukit/score/Makefile.am | 2 +-
cpukit/score/include/rtems/score/chainimpl.h | 15
This function is not used in the score.
Update #2555.
---
cpukit/sapi/include/rtems/chain.h| 10 --
cpukit/sapi/src/chainprotected.c | 4 +++
cpukit/score/Makefile.am | 2 +-
cpukit/score/include/rtems/score/chainimpl.h | 21 ---
---
cpukit/posix/src/killinfo.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/cpukit/posix/src/killinfo.c b/cpukit/posix/src/killinfo.c
index a29a8e6..7a70539 100644
--- a/cpukit/posix/src/killinfo.c
+++ b/cpukit/posix/src/killinfo.c
@@ -75,6 +75,7 @@ int
This function is not used in the score.
Update #2555.
---
cpukit/sapi/include/rtems/chain.h| 9 ---
cpukit/sapi/src/chainprotected.c | 4 ---
cpukit/score/Makefile.am | 1 -
cpukit/score/include/rtems/score/chainimpl.h | 16
On 29/03/16 13:47, Sebastian Huber wrote:
Not to be committed. How can we fix this?
I was able to run all MP tests except mp14 successfully using Qemu and a
virtual network. The TCP/IP based MPCI support is basically BSP
independent and should work for all BSPs that support a network
---
.../libbsp/powerpc/motorola_powerpc/Makefile.am| 2 +
.../libbsp/powerpc/motorola_powerpc/include/bsp.h | 10 +
.../libbsp/powerpc/motorola_powerpc/shmsupp/mpci.c | 379 +
3 files changed, 391 insertions(+)
create mode 100644
Not to be committed. How can we fix this?
---
cpukit/sapi/include/confdefs.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 2018c4e..6c55cdb 100644
--- a/cpukit/sapi/include/confdefs.h
+++
We must update the wait flags under protection of the current thread
lock, otherwise a _Thread_Timeout() running on another processor may
interfere.
---
cpukit/score/src/threadqenqueue.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git
The thread queue implementation was heavily reworked to support SMP.
This broke the multiprocessing support of the thread queues. This is
fixed by this patch.
A thread proxy is unblocked due to three reasons
1) timeout,
2) request satisfaction, and
3) extraction.
In case 1) no MPCI
Change _Thread_queue_Flush() into a macro that invokes
_Thread_queue_Do_flush() with the parameter set defined by
RTEMS_MULTIPROCESSING. For multiprocessing configurations add the
object identifier to avoid direct use of the thread wait information.
Use mp_ prefix for multiprocessing related
Also set the thread wait return code for thread proxies since this
causes no harm.
---
cpukit/score/src/threadqflush.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/cpukit/score/src/threadqflush.c b/cpukit/score/src/threadqflush.c
index 694c746..56dd805 100644
---
MP support was not implemented.
---
cpukit/posix/src/prwlockrdlock.c | 4 +--
cpukit/posix/src/prwlocktimedrdlock.c | 4 +--
cpukit/posix/src/prwlocktimedwrlock.c | 4 +--
cpukit/posix/src/prwlocktryrdlock.c | 4 +--
plans to integrate the or1k stuff into the FSF GCC?
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese
1.8.4.5
___
devel mailing list
devel@rtems.org <mailto:devel@rtems.org>
http://lists.rtems.org/mailman/listinfo/devel
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 1
In case we reach the program point marked with RTEMS_UNREACHABLE(), then
the behaviour is undefined according to the GCC documentation. Maybe we
should add some stuff if RTEMS_DEBUG is defined.
On 22/03/16 07:25, Sebastian Huber wrote:
---
cpukit/score/include/rtems/score/basedefs.h | 9
the spintrcritical* tests may
timeout out. All other timeouts should be looked at individually.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public
0,9
bne+ 7,.L13
+ addi 4,3,8
mr 10,24
b .L14
.p2align 4,,15
@@ -134,7 +135,6 @@
cmpwi 7,9,0
addi 8,9,4
bne+ 7,.L17
- addi 4,3,8
stw 9,12(3)
stw 9,8(3)
li 9,1
--
Sebastian Huber, embedded brains GmbH
Addr
Signed-off-by: Sebastian Huber <sebastian.hu...@embedded-brains.de>
---
newlib/libc/include/sys/_types.h | 4
newlib/libc/include/sys/stat.h | 2 +-
newlib/libc/include/sys/types.h| 5 +
newlib/libc/sys/rtems/include/machine/_types
Signed-off-by: Sebastian Huber <sebastian.hu...@embedded-brains.de>
---
newlib/libc/include/sys/_types.h | 4
newlib/libc/include/sys/stat.h | 2 +-
newlib/libc/include/sys/types.h| 5 +
newlib/libc/sys/rtems/include/machine/_types
for user types, e.g. dev_t in this example. Introduce a
__machine_*_t_defined pattern for internal types (defined by
, used by ). For example
#ifndef __machine_dev_t_defined
typedef short __dev_t;
#endif
Signed-off-by: Sebastian Huber <sebastian.hu...@embedded-brains
Add __va_list to for BSD compatibility. In FreeBSD this
typedef is provided by the various architecture-specific
in a copy and paste manner.
Signed-off-by: Sebastian Huber <sebastian.hu...@embedded-brains.de>
---
newlib/libc/include/sys/_types.h | 6 ++
1 file changed, 6 inse
Signed-off-by: Sebastian Huber <sebastian.hu...@embedded-brains.de>
---
newlib/libc/include/sys/_types.h | 4
newlib/libc/include/sys/types.h| 5 +
winsup/cygwin/include/cygwin/types.h | 6 --
winsup/cygwin/include/machine/_types.h | 3 +++
4 files chang
Signed-off-by: Sebastian Huber <sebastian.hu...@embedded-brains.de>
---
newlib/libc/include/sys/_timespec.h| 3 ++-
newlib/libc/include/sys/_timeval.h | 3 ++-
newlib/libc/include/sys/_types.h | 4 +++-
newlib/libc/include/sys/timeb.h| 7 ---
newlib/libc/inclu
Include in if __BSD_VISIBLE for BSD
compatibility. This is in line with glibc .
Signed-off-by: Sebastian Huber <sebastian.hu...@embedded-brains.de>
---
newlib/libc/include/sys/types.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/inclu
Use __uint32_t to avoid the use of GCC-specific _ST_INT32.
Signed-off-by: Sebastian Huber <sebastian.hu...@embedded-brains.de>
---
newlib/libc/include/sys/_types.h | 16 +
newlib/libc/include/sys/types.h| 50 --
newlib/libc/sys
Signed-off-by: Sebastian Huber <sebastian.hu...@embedded-brains.de>
---
newlib/libc/include/sys/_types.h | 1 +
newlib/libc/include/sys/types.h | 5 -
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_types.h
Signed-off-by: Sebastian Huber <sebastian.hu...@embedded-brains.de>
---
newlib/libc/include/sys/_default_fcntl.h | 4
1 file changed, 4 insertions(+)
diff --git a/newlib/libc/include/sys/_default_fcntl.h
b/newlib/libc/include/sys/_default_fcntl.h
index 3be8f8d..ede90c4 100644
--- a/
Signed-off-by: Sebastian Huber <sebastian.hu...@embedded-brains.de>
---
newlib/libc/include/sys/_types.h | 1 +
newlib/libc/include/sys/types.h | 5 -
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_types.h
Signed-off-by: Sebastian Huber <sebastian.hu...@embedded-brains.de>
---
newlib/libc/include/sys/_types.h | 4 +++-
newlib/libc/include/sys/times.h | 7 ---
newlib/libc/include/sys/types.h | 7 ---
3 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/newlib/libc/inclu
ne __size_t in as a workaround.
Signed-off-by: Sebastian Huber <sebastian.hu...@embedded-brains.de>
---
newlib/libc/include/sys/_types.h | 15 +++
newlib/libc/include/sys/types.h | 3 +--
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/newlib/libc/include/sys/_types.h b/ne
1001 - 1100 of 10432 matches
Mail list logo