Skip to contentSkip to conversation

What's the purpose of _MACH_8xx?

DISCUSSION Steven Scholz 2 participants 2 messages Sep 2, 2001

lore
Share & tools
lore
#0 lore raw

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/

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

I'm just digging through the LinuxPPC sources.
What do we need the define _MACH_8xx for?

Don't worry about this. It's gone in current kernel releases.

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Worlds may change, galaxies disintegrate, but a woman always remains a woman.
-- Kirk, "The Conscience of the King", stardate 2818.9

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