Questions about Configuration for shell prompt & file system

2017-12-28 Thread jaeho jo
Hi, I have 2 Questions about RTEMS! 1. What is the relationship between shell prompt and unlimited_object? When I using RTEMS 4.11.2, I need 'CONFIGURE_UNLIMITED_OBJECTS' to use shell prompt. I already read 'RTEMS C User Manual - 24.7. Unlimited Objects ' page, but I don't understand exactl

smp support

2017-12-28 Thread bin.w...@qkmtech.com
hi: everybody: i want to use the smp in the rtems. when i see the c user doc .i find as follows Warning: The SMP support in the release of RTEMS is a work in progress. Before you start using this RTEMS version for SMP ask on the RTEMS mailing list. is the smp in the developing phase? can it

setjmp/longjmp in RTEMS C API

2017-12-28 Thread Vicent Brocal
Hi all, Does anyone know if the RTEMS C API provide some functionality similar to the setjmp/longjmp functions of the POSIX API? I did a quick search trough the official RTEMS C API doc, but at first glance I did not find anything like that. We are trying to implementing something as the C++ try/

the difference between posix user and c user

2017-12-28 Thread bin.w...@qkmtech.com
hi everyone: i am new to linux and rtems. i do not understand what the difference between posix user and c user . i am confused about these two concept. which condition i should choose posix ? which condition i should choose c ? best bin.w...@qkmtech.com

Re: setjmp/longjmp in RTEMS C API

2017-12-28 Thread Joel Sherrill
Setjmp and longjmp are part of the C Library and should be available on all architectures supported by RTEMS --joel On Dec 28, 2017 5:09 AM, "Vicent Brocal" wrote: > Hi all, > > Does anyone know if the RTEMS C API provide some functionality similar to > the setjmp/longjmp functions of the POSIX

Re: smp support

2017-12-28 Thread Joel Sherrill
Smp support first was usable in the 4.11 release series. It matured between then and the git master which will be RTEMS 5. For new projects, we recommend just using the git master and moving to the 5.x releases when made. The smp has significant improvements and optimizations. --joel On Dec 28, 2

Re: smp support

2017-12-28 Thread Chris Johns
On 28/12/17 7:51 pm, bin.w...@qkmtech.com wrote: > *hi: everybody:* > * > * > *i want to use the smp in the rtems.* > * > * > *when i see the c user doc .i find as follows* > * > * > *Warning: *The SMP support in the release of RTEMS is a work in progress. > Before > you start > using this RTEMS v

Re: the difference between posix user and c user

2017-12-28 Thread Chris Johns
On 29/12/17 12:00 am, bin.w...@qkmtech.com wrote: > hi everyone: > > i am new to linux and rtems. i do not understand > what the difference between posix user and c user . > > i am confused about these two concept. which condition i should choose posix ? > which condition i should choose c ? >

Re: Re: smp support

2017-12-28 Thread bin.w...@qkmtech.com
thanks a lot . i have another question , if i use the smp, can i use the interrupt of rtems? which i want to interrupt period of hard real time of 125us. i do not know the difference of the bare-metal interrupt and the rtems interrupt . is the rtems interrupt have performance loss of the h

Re: Re: the difference between posix user and c user

2017-12-28 Thread bin.w...@qkmtech.com
i google the posix .now i know that posix is the abbreviation of "the Portable Operating System Interface" it is for software compatibility with variants of Unix and other operating systems but you said, "POSIX and the Classic API are both C APIs." than i think the posix is packaged on the basis

Re: Re: smp support

2017-12-28 Thread bin.w...@qkmtech.com
hi joel if i do not use smp mode ,i just use the mutiprocessor configure in the confdef.h, is it the amp mode? can i use the mpci to comunication between the two core? best wishes ben bin.w...@qkmtech.com From: Joel Sherrill Date: 2017-12-28 21:32 To: bin.wang CC: rtems-us...@rtems.org

The system initialization API

2017-12-28 Thread bin.w...@qkmtech.com
hi when i read the rtems c user pdf ,in the 6.3.1 Initializing RTEMS i find that "The system initialization API is available via‘‘#included‘‘." but i do not find the sysint.h file in the source code folders . is it something wrong ? bin.w...@qkmtech.com __

Re: Re: the difference between posix user and c user

2017-12-28 Thread bin.w...@qkmtech.com
is the posix api and the c api used together? sorry . i am also confused about this two things . because i find that when i config the rtems kernel ,there is a option which is --enable posix. bin.w...@qkmtech.com From: bin.w...@qkmtech.com Date: 2017-12-29 09:25 To: Chris Johns; Users Subje

Re: smp support

2017-12-28 Thread Chris Johns
On 29/12/17 12:16 pm, bin.w...@qkmtech.com wrote: > thanks a lot .  > > i have another question , if i use the smp, can i use the interrupt of  rtems? > which i want to interrupt period of hard real time of 125us.  > Yes you can. > i do not know the difference of the bare-metal interrupt and th

Re: Re: smp support

2017-12-28 Thread bin.w...@qkmtech.com
before i use the rtems , i just write the bare-metal code. now i want to use the rtems. but i do not know how to add the original bare-metal interrupt routine into the rtems program. is it has conflict betweent the bare-metal code and the rtems code? I has no idea about how to use my old code