Changeset View
Changeset View
Standalone View
Standalone View
head/sys/powerpc/include/param.h
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
/* Needed to display interrupts on OFW PCI */ | /* Needed to display interrupts on OFW PCI */ | ||||
#define __PCI_REROUTE_INTERRUPT | #define __PCI_REROUTE_INTERRUPT | ||||
#ifndef MACHINE | #ifndef MACHINE | ||||
#define MACHINE "powerpc" | #define MACHINE "powerpc" | ||||
#endif | #endif | ||||
#ifndef MACHINE_ARCH | #ifndef MACHINE_ARCH | ||||
#ifdef __powerpc64__ | #ifdef __powerpc64__ | ||||
#if defined(__LITTLE_ENDIAN__) | |||||
#define MACHINE_ARCH "powerpc64le" | |||||
#else | |||||
#define MACHINE_ARCH "powerpc64" | #define MACHINE_ARCH "powerpc64" | ||||
#endif | |||||
#else | #else | ||||
#ifdef __SPE__ | #ifdef __SPE__ | ||||
#define MACHINE_ARCH "powerpcspe" | #define MACHINE_ARCH "powerpcspe" | ||||
#else | #else | ||||
#define MACHINE_ARCH "powerpc" | #define MACHINE_ARCH "powerpc" | ||||
#endif | #endif | ||||
#endif | #endif | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |