What's the purpose of _MACH_8xx?

Steven Scholz steven.scholz at imc-berlin.de
Sun Sep 2 21:17:52 EST 2001


Hi there,

I'm just digging through the LinuxPPC sources.

What do we need the define _MACH_8xx for?

Who is assigning new values for it? See include/asm-ppc/processor.h:

#define _MACH_prep      0x00000001
#define _MACH_Pmac      0x00000002      /* pmac or pmac clone (non-chrp)
*/
#define _MACH_chrp      0x00000004      /* chrp machine */
#define _MACH_mbx       0x00000008      /* Motorola MBX board */
#define _MACH_apus      0x00000010      /* amiga with phase5 powerup */
#define _MACH_fads      0x00000020      /* Motorola FADS board */
etc.

It looks like plattform depending. But why then is it in PROCESSOR.h?

Thanks.

Steven

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list