Sorry for the misleading title. I didn't remove the patches for the
BSP-specific part from my working directory and git thought, that this
single patch would be one of a patch set.
Only the one patch I posted is relevant for this discussion thread.
Kind regards,
Christian Mau
From: Christian Mauderer
Guest systems in paravirtualization environments run usually in user
mode. Thus it is not possible to directly access the PSR and TBR
registers. Use functions instead of inline assembler to access these
registers if RTEMS_PARAVIRT is defined.
---
c/src/lib/libbsp
s) outside of the tree.
The code is testable with the current Sparc-BSPs due to the definition
of default functions for _SPARC_Get_PSR and so on in syscall.S. It is
only necessary to set the paravirt option for the normal BSP.
Kind regards,
Christia
I noted the licensing problems. I think that despite that it is
interesting to solve the other points.
Am 21.05.2014 16:15, schrieb Joel Sherrill:
>
> On 5/21/2014 8:54 AM, Gedare Bloom wrote:
>> On Wed, May 21, 2014 at 4:04 AM, Christian Mauderer
>> wrote:
>>> Fi
Am 21.05.2014 15:54, schrieb Gedare Bloom:
> On Wed, May 21, 2014 at 4:04 AM, Christian Mauderer
> wrote:
>> First of all: Thanks for your comments. You will find answers below.
>>
>> Am 20.05.2014 16:58, schrieb Gedare Bloom:
>>> On Tue, May 20, 2014 at 5:16
First of all: Thanks for your comments. You will find answers below.
Am 20.05.2014 16:58, schrieb Gedare Bloom:
> On Tue, May 20, 2014 at 5:16 AM, Christian Mauderer
> wrote:
>> From: Christian Mauderer
>>
>> ---
>> c/src/lib/libbsp/shared/include/fatal.h
From: Christian Mauderer
---
cpukit/score/cpu/sparc/cpu.c | 4 +++
cpukit/score/cpu/sparc/rtems/score/cpu.h | 13 +++--
cpukit/score/cpu/sparc/rtems/score/sparc.h | 44 ++
3 files changed, 58 insertions(+), 3 deletions(-)
diff --git a/cpukit
> OK. I think it would be good to write this down somewhere for future
> reference. possibly in the same spot you documented the note about
> needing to configure the system with the key-value.
> -Gedare
I've extended the documentation for the set_private_env function. I hope that it
is clear now
From: Christian Mauderer
---
cpukit/include/rtems/userenv.h | 21 +--
cpukit/libcsupport/include/rtems/libio_.h | 2 ++
cpukit/libcsupport/src/__usrenv.c | 2 +-
cpukit/libcsupport/src/libio_init.c| 12 +
cpukit/libcsupport/src
Am 26.03.2014 16:23, schrieb Gedare Bloom:
> On Wed, Mar 26, 2014 at 8:29 AM, Christian Mauderer
> wrote:
>> From: Christian Mauderer
>>
>> ---
>> cpukit/include/rtems/userenv.h | 20 +++---
>> cpukit/libcsupport/include/rt
From: Christian Mauderer
---
cpukit/include/rtems/userenv.h | 20 -
cpukit/libcsupport/src/privateenv.c| 60 ++
testsuites/fstests/fsnofs01/fsnofs01.doc | 1 -
testsuites/fstests/fsnofs01/init.c | 12
From: Christian Mauderer
---
cpukit/include/rtems/userenv.h | 20 +++---
cpukit/libcsupport/include/rtems/libio_.h | 2 ++
cpukit/libcsupport/src/__usrenv.c | 2 +-
cpukit/libcsupport/src/libio_init.c| 12 +
cpukit/libcsupport/src
hared user environments completely? It would simplify the whole
module a lot.
Kind regards
Christian Mauderer
--
embedded brains GmbH
Christian Mauderer Dornierstr. 4
D-82178 Puchheim Germany
email: christian.maude...@embedded-brains.de
Phone:
I've found another small bug in my patch: After removing the pthread
header from the gxx_wrapper.h in my second version of the patch I
forgot to add it to gxx_wrapper.c. This is fixed in the appended new
version of the third patch.
Sorry for the additional mails.
_
From: Christian Mauderer
With this patch C++ applications now eventually need additional POSIX-keys and
POSIX-key-value-pairs configured.
---
cpukit/libcsupport/include/rtems/gxx_wrappers.h | 8 +-
cpukit/libcsupport/src/gxx_wrappers.c | 112 +++-
testsuites
From: Christian Mauderer
---
cpukit/librpc/include/rpc/rpc.h | 4 ++-
cpukit/librpc/src/rpc/rtems_rpc.c | 65 +--
2 files changed, 51 insertions(+), 18 deletions(-)
diff --git a/cpukit/librpc/include/rpc/rpc.h b/cpukit/librpc/include/rpc/rpc.h
index
Am 21.03.2014 13:30, schrieb Gedare Bloom:
> On Fri, Mar 21, 2014 at 5:26 AM, Christian Mauderer
> wrote:
>> From: Christian Mauderer
>>
>> With this patch C++ applications now eventually need additional POSIX-keys
>> and
>> POSIX-key-value-pairs configured.
From: Christian Mauderer
With this patch C++ applications now eventually need additional POSIX-keys and
POSIX-key-value-pairs configured.
---
cpukit/libcsupport/include/rtems/gxx_wrappers.h | 8 +-
cpukit/libcsupport/src/gxx_wrappers.c | 111 +++-
testsuites
From: Christian Mauderer
The rtems_gxx_key_dtor function is not longer used by gcc.
---
cpukit/libcsupport/include/rtems/gxx_wrappers.h | 2 --
cpukit/libcsupport/src/gxx_wrappers.c | 10 --
testsuites/libtests/gxx01/gxx01.doc | 1 -
testsuites/libtests/gxx01
On a suggestion from Sebastian I've changed two points:
- Add a testcase for calling pthread_setspecific two times with the same key.
- Remove one unnecessary include.
___
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listi
From: Christian Mauderer
The man-page for pthread_setspecific does not define the EAGAIN return value.
Further without this patch it was not possible to set keys that have been
already set a new value.
Add test for setting a new value to a already set key.
---
cpukit/posix/src/keysetspecific.c
From: Christian Mauderer
With this patch C++ applications now eventually need additional POSIX-keys and
POSIX-key-value-pairs configured.
---
cpukit/libcsupport/include/rtems/gxx_wrappers.h | 10 +--
cpukit/libcsupport/src/gxx_wrappers.c | 111 +++-
testsuites
From: Christian Mauderer
The man-page for pthread_setspecific does not define the EAGAIN return value.
Further without this patch it was not possible to set keys that have been
already set a new value.
---
cpukit/posix/src/keysetspecific.c | 59 +++
1 file
From: Christian Mauderer
The rtems_gxx_key_dtor function is not longer used by gcc.
---
cpukit/libcsupport/include/rtems/gxx_wrappers.h | 2 --
cpukit/libcsupport/src/gxx_wrappers.c | 10 --
testsuites/libtests/gxx01/gxx01.doc | 1 -
testsuites/libtests/gxx01
I have replaced the header of once.c with the original one from pthreadonce.c to
honour the original work.
___
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel
From: Christian Mauderer
---
cpukit/libcsupport/src/gxx_wrappers.c | 15 ++--
cpukit/posix/src/pthreadonce.c | 37 ++-
cpukit/score/Makefile.am| 2 ++
cpukit/score/include/rtems/score/onceimpl.h | 50 ++
cpukit
From: Christian Mauderer
---
cpukit/libcsupport/src/gxx_wrappers.c | 15 +---
cpukit/posix/src/pthreadonce.c | 37 +-
cpukit/score/Makefile.am| 2 +
cpukit/score/include/rtems/score/onceimpl.h | 50
cpukit
I have updated the documentation.
Further I put all changes into one patch. The fileio test would not work
after applying the posix key patch to the shell. Therefore I shouldn't
have split it up in the first place.
Am 19.03.2014 17:17, schrieb Christian Mauderer:
> From: Christian
From: Christian Mauderer
Use posix keys for current shell environment instead of task variables. With
this patch the shell needs one posix-key and one posix-key-value-pair
configured.
Update documentation for the shell.
Adapt samples/fileio:
- Add necessary objects.
- Add login function and
Am 19.03.2014 16:31, schrieb Gedare Bloom:
> On Wed, Mar 19, 2014 at 11:15 AM, Christian Mauderer
> wrote:
>> From: Christian Mauderer
>>
>> Use posix keys for current shell environment instead of task variables. With
>> this patch the shell needs one posix-ke
From: Christian Mauderer
Use posix keys for current shell environment instead of task variables. With
this patch the shell needs one posix-key and one posix-key-value-pair
configured.
---
cpukit/libmisc/shell/shell.c | 56 ++--
cpukit/libmisc/shell
From: Christian Mauderer
Add necessary objects.
Add login function and custom device name for better testing of the shell.
---
testsuites/samples/fileio/init.c | 5 +++--
testsuites/samples/fileio/system.h | 3 +++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/testsuites
Hello,
I did something wrong while testing and have to fix some additional
points. So you don't have to try the patches because I'll have to fix
them first and send them again after fixing.
Sorry.
Kind regards,
Christian Mauderer
Am 19.03.2014 12:54, schrieb Christian Mauder
From: Christian Mauderer
---
testsuites/samples/fileio/init.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c
index 80da4ab..2a0f9db 100644
--- a/testsuites/samples/fileio/init.c
+++ b/testsuites
From: Christian Mauderer
---
cpukit/libmisc/shell/shell.c | 54 ++--
cpukit/libmisc/shell/shell.h | 4 ++--
2 files changed, 39 insertions(+), 19 deletions(-)
diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmisc/shell/shell.c
index 90bb512
From: Christian Mauderer
---
testsuites/psxtests/psxonce01/init.c | 27 ++-
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/testsuites/psxtests/psxonce01/init.c
b/testsuites/psxtests/psxonce01/init.c
index 6fd6579..9b6a5ee 100644
--- a/testsuites
From: Christian Mauderer
---
testsuites/psxtests/Makefile.am | 3 ++
testsuites/psxtests/configure.ac| 1 +
testsuites/psxtests/psx01/init.c| 17
testsuites/psxtests/psx01/psx01.doc | 3 --
testsuites/psxtests/psx01/psx01.scn | 5
test so that it can build independent of the POSIX-API.
After this the next steps will be to replace the task variables in the
mentioned modules.
Kind regards
Christian Mauderer
--
embedded brains GmbH
Christian Mauderer Dornierstr. 4
D-
38 matches
Mail list logo