Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cputable.c File Reference
#include <linux/string.h>
#include <linux/sched.h>
#include <linux/threads.h>
#include <linux/init.h>
#include <linux/export.h>
#include <asm/oprofile_impl.h>
#include <asm/cputable.h>
#include <asm/prom.h>
#include <asm/mmu.h>
#include <asm/setup.h>

Go to the source code of this file.

Macros

#define COMMON_USER
 
#define COMMON_USER_PPC64   (COMMON_USER | PPC_FEATURE_64)
 
#define COMMON_USER_POWER4   (COMMON_USER_PPC64 | PPC_FEATURE_POWER4)
 
#define COMMON_USER_POWER5
 
#define COMMON_USER_POWER5_PLUS
 
#define COMMON_USER_POWER6
 
#define COMMON_USER_POWER7
 
#define COMMON_USER_PA6T
 
#define COMMON_USER_BOOKE
 

Functions

 EXPORT_SYMBOL (cur_cpu_spec)
 
struct cpu_spec *__init identify_cpu (unsigned long offset, unsigned int pvr)
 

Variables

struct cpu_speccur_cpu_spec = NULL
 
const charpowerpc_base_platform
 

Macro Definition Documentation

#define COMMON_USER
Value:
PPC_FEATURE_HAS_MMU)

Definition at line 81 of file cputable.c.

#define COMMON_USER_BOOKE
Value:
PPC_FEATURE_BOOKE)

Definition at line 103 of file cputable.c.

#define COMMON_USER_PA6T
Value:
PPC_FEATURE_TRUE_LE | \
PPC_FEATURE_HAS_ALTIVEC_COMP)

Definition at line 97 of file cputable.c.

#define COMMON_USER_POWER4   (COMMON_USER_PPC64 | PPC_FEATURE_POWER4)

Definition at line 84 of file cputable.c.

#define COMMON_USER_POWER5
Value:

Definition at line 85 of file cputable.c.

#define COMMON_USER_POWER5_PLUS
Value:

Definition at line 87 of file cputable.c.

#define COMMON_USER_POWER6
Value:
PPC_FEATURE_SMT | PPC_FEATURE_ICACHE_SNOOP | \
PPC_FEATURE_TRUE_LE | \
PPC_FEATURE_PSERIES_PERFMON_COMPAT)

Definition at line 89 of file cputable.c.

#define COMMON_USER_POWER7
Value:
PPC_FEATURE_SMT | PPC_FEATURE_ICACHE_SNOOP | \
PPC_FEATURE_TRUE_LE | \
PPC_FEATURE_PSERIES_PERFMON_COMPAT)

Definition at line 93 of file cputable.c.

#define COMMON_USER_PPC64   (COMMON_USER | PPC_FEATURE_64)

Definition at line 83 of file cputable.c.

Function Documentation

EXPORT_SYMBOL ( cur_cpu_spec  )
struct cpu_spec* __init identify_cpu ( unsigned long  offset,
unsigned int  pvr 
)
read

Definition at line 2172 of file cputable.c.

Variable Documentation

struct cpu_spec* cur_cpu_spec = NULL

Definition at line 25 of file cputable.c.

const char* powerpc_base_platform

Definition at line 29 of file cputable.c.