Number of arguments
Dear,
As known, the norm arinc653 is very strict and the API proposed should be respected. Some functions of the API need more than five arguments. However, the "SKINCALL" is limited to 5. If I want to increase, I have to modify the following files :
- ./xenomai-2.5.6/include/asm-arm/syscall.h
- ./xenomai-2.5.6/include/asm-blackfin/syscall.h
- ./xenomai-2.5.6/include/asm-x86/syscall.h
- ./xenomai-2.5.6/include/asm-powerpc/syscall.h
- ./xenomai-2.5.6/include/asm-nios2/syscall.h
Is it possible? Is is a good idea ?
Thank you for your attention and your help.
Sincerely
Omar ZENATI
Quoted 12 lines · zenati
Dear,
As known, the norm arinc653 is very strict and the API proposed should be respected. Some functions of the API need more than five arguments. However, the "SKINCALL" is limited to 5. If I want to increase, I have to modify the following files :
-./xenomai-2.5.6/include/asm-arm/syscall.h
-./xenomai-2.5.6/include/asm-blackfin/syscall.h
-./xenomai-2.5.6/include/asm-x86/syscall.h
-./xenomai-2.5.6/include/asm-powerpc/syscall.h
-./xenomai-2.5.6/include/asm-nios2/syscall.h
Quoted 1 line
Is it possible? Is is a good idea ?
No, dead end. You should group arguments in a struct and pass the address of such struct to kernel land for decoding.
Quoted 10 lines
Thank you for your attention and your help.
SincerelyOmar ZENATI
_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Signature · 1 line
Philippe.
[Xenomai-core] Implementation of skin Arinc653, process don't return
In reply to zenatiDear,
I have implement a first version of the skin Arinc 653. However, I match one bug. Each time I execute a test I have implemented (Hello world test). The process display "Hello world!" but don't return and even if I do control-z or control-c the process don't terminate.
have and idea to fix this problem??
Thank you for your help.
Sincerely
Omar ZENATI
Re: [Xenomai-core] Implementation of skin Arinc653, process don't return
Quoted 8 lines · zenati
Dear,
I have implement a first version of the skin Arinc 653. However, I match one bug. Each time I execute a test I have implemented (Hello world test). The process display "Hello world!" but don't return and even if I do control-z or control-c the process don't terminate.
have and idea to fix this problem??
It is hard to say anything witout seeing any code, but, when you hit ctrl-C or ctrl-Z, the process receives a signal SIGINT or SIGTSTP. So, in the implementation of this skin, did you handle the interruption of blocking system calls by a signal correctly ?
Signature · 1 line
Gilles.
Re: [Xenomai-core] Implementation of skin Arinc653, process don't return
No I don't implement any handler, but there isn't a handler by default? I don't see any handler of signals in the sources of others skins. it means that I have to implement a handler in source of the test?
Quoted 14 lines · Gilles Chanteperdrix
Quoted 8 lines · zenati
Dear,
I have implement a first version of the skin Arinc 653. However, I match one bug. Each time I execute a test I have implemented (Hello world test). The process display "Hello world!" but don't return and even if I do control-z or control-c the process don't terminate.
have and idea to fix this problem??
It is hard to say anything witout seeing any code, but, when you hit ctrl-C or ctrl-Z, the process receives a signal SIGINT or SIGTSTP. So, in the implementation of this skin, did you handle the interruption of blocking system calls by a signal correctly ?
Re: [Xenomai-core] Implementation of skin Arinc653, process don't return
Quoted 3 lines · zenati
No I don't implement any handler, but there isn't a handler by default? I don't see any handler of signals in the sources of others skins. it means that I have to implement a handler in source of the test?
We do not understand your issue, you do not understand our answers, please show us the code to avoid further misunderstandings.
Signature · 1 line
Gilles.