Skip to contentSkip to conversation

Header files for 440?

DISCUSSION Shawn Jin 1 participant 1 message Mar 31, 2005

lore
Share & tools
lore

Shawn Jin

author
#0 lore raw

Hi,

Are there any criteria to define things on so many different header files for 440 family chips? For example, an Ocotea board has the following header files.

1. <asm/ibm44x.h>
2. <syslib/ibm440gx_common.h>
3. <syslib/ibm44x_common.h>
4. <platforms/4xx/ibm440gx.h>
5. <platforms/4xx/ocotea.h>

I can understand the reasons why there are ibm44x.h, ibm440gx.h, and ocotea.h. But why do we need to separate ibm44x_common.h from ibm44x.h and ibm440gx.h from ibm440gx_common.h? Can we just simply combine them together? It's a little confusing on what definitions and declarations should be which files.

Is there any guildeline saying what header file should be in <asm-ppc/*>, <syslib/*>, or <platforms/4xx/*>?

Any explanations?

Thanks,
-Shawn.