Page 1 of 1
Kernel code question!
Posted: Tue Dec 04, 2012 8:44 am
by findfrienda
Hi, Dear all,
Can someone tell me the usage of some sub-directories in the kernel directory:
Code: Select all
|_kernel
|_as
|_edf
|_fp
|_frsh
|_oo
|_rn
|_sem
I don't konw the usage of each sub-directoies, and what's the meaning of edf,fp,frsh,oo,as.
Can give me some help?
Thanks!
Re: Kernel code question!
Posted: Tue Dec 04, 2012 9:17 am
by paolo.gai
Hi,
I started a quick Wiki page, please check
http://erika.tuxfamily.org/wiki/index.p ... _internals
Ciao,
PJ
Re: Kernel code question!
Posted: Tue Dec 04, 2012 9:56 am
by findfrienda
Thanks very much!!!!!!!!!!!!!
The new wiki page is very very....useful!
Here is another question:
If we choose ERIKA as an OSEK OS, so, the oo directory is OK, wo needn't to care other directories;
If we want to expand to an autosar standard, we need to include the as directory.
This is my understanding, is it right?
Re: Kernel code question!
Posted: Tue Dec 04, 2012 10:05 am
by paolo.gai
> If we choose ERIKA as an OSEK OS, so, the oo directory is OK, wo needn't to care other directories;
yes, confirmed. just check the ee.h include file in pkg, which includes the various files.
> If we want to expand to an autosar standard, we need to include the as directory.
Not really. We do not implement (yet) all specifications of AUTOSAR OS. So the as directory contains the parts of AUTOSAR currently implemented. there is not that much yet.
PJ
Re: Kernel code question!
Posted: Tue Dec 04, 2012 10:29 am
by findfrienda
ok! Thanks!
Here is another two question:
1).What's the usage of directory com?
Does it mean communication method? If so, what the difference between them and the IPCs (such as sem & event in oo)?
2).In the kernel,
sem--semaphore implementation used by FP, EDF, FRSH
So, I think sem isnot for oo, but for FP,EDF & FRSH. Beacuse in the os I found the implementation of sem and event in oo.
Is it right?
Thanks!
Re: Kernel code question!
Posted: Tue Dec 04, 2012 11:20 am
by paolo.gai
findfrienda wrote:
1).What's the usage of directory com?
Does it mean communication method? If so, what the difference between them and the IPCs (such as sem & event in oo)?
it contains the OSEK COM (as well as a CABS implementation...)
findfrienda wrote:
2).In the kernel,
sem--semaphore implementation used by FP, EDF, FRSH
So, I think sem isnot for oo, but for FP,EDF & FRSH. Beacuse in the os I found the implementation of sem and event in oo.
Is it right?
Yes!
PJ