Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
cpuinfo.c File Reference
#include <linux/init.h>
#include <asm/cpuinfo.h>
#include <asm/pvr.h>

Go to the source code of this file.

Functions

void __init setup_cpuinfo (void)
 

Variables

struct cpu_ver_key cpu_ver_lookup []
 
struct family_string_key family_string_lookup []
 
struct cpuinfo cpuinfo
 

Function Documentation

void __init setup_cpuinfo ( void  )

Definition at line 65 of file cpuinfo.c.

Variable Documentation

struct cpu_ver_key cpu_ver_lookup[]
Initial value:
= {
{"5.00.a", 0x01},
{"5.00.b", 0x02},
{"5.00.c", 0x03},
{"6.00.a", 0x04},
{"6.00.b", 0x06},
{"7.00.a", 0x05},
{"7.00.b", 0x07},
{"7.10.a", 0x08},
{"7.10.b", 0x09},
{"7.10.c", 0x0a},
{"7.10.d", 0x0b},
{"7.20.a", 0x0c},
{"7.20.b", 0x0d},
{"7.20.c", 0x0e},
{"7.20.d", 0x0f},
{"7.30.a", 0x10},
{"7.30.b", 0x11},
{"8.00.a", 0x12},
{"8.00.b", 0x13},
{"8.10.a", 0x14},
{"8.20.a", 0x15},
{"8.20.b", 0x16},
{"8.30.a", 0x17},
{NULL, 0},
}

Definition at line 15 of file cpuinfo.c.

Definition at line 63 of file cpuinfo.c.

struct family_string_key family_string_lookup[]
Initial value:
= {
{"virtex2", 0x4},
{"virtex2pro", 0x5},
{"spartan3", 0x6},
{"virtex4", 0x7},
{"virtex5", 0x8},
{"spartan3e", 0x9},
{"spartan3a", 0xa},
{"spartan3an", 0xb},
{"spartan3adsp", 0xc},
{"spartan6", 0xd},
{"virtex6", 0xe},
{"spartan2", 0xf0},
{NULL, 0},
}

Definition at line 46 of file cpuinfo.c.