Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
topology.c File Reference
#include <linux/cpu.h>
#include <asm/apic.h>
#include <asm/pat.h>
#include <asm/processor.h>

Go to the source code of this file.

Macros

#define SMT_LEVEL   0
 
#define INVALID_TYPE   0
 
#define SMT_TYPE   1
 
#define CORE_TYPE   2
 
#define LEAFB_SUBTYPE(ecx)   (((ecx) >> 8) & 0xff)
 
#define BITS_SHIFT_NEXT_LEVEL(eax)   ((eax) & 0x1f)
 
#define LEVEL_MAX_SIBLINGS(ebx)   ((ebx) & 0xffff)
 

Functions

void __cpuinit detect_extended_topology (struct cpuinfo_x86 *c)
 

Macro Definition Documentation

#define BITS_SHIFT_NEXT_LEVEL (   eax)    ((eax) & 0x1f)

Definition at line 21 of file topology.c.

#define CORE_TYPE   2

Definition at line 18 of file topology.c.

#define INVALID_TYPE   0

Definition at line 16 of file topology.c.

#define LEAFB_SUBTYPE (   ecx)    (((ecx) >> 8) & 0xff)

Definition at line 20 of file topology.c.

#define LEVEL_MAX_SIBLINGS (   ebx)    ((ebx) & 0xffff)

Definition at line 22 of file topology.c.

#define SMT_LEVEL   0

Definition at line 13 of file topology.c.

#define SMT_TYPE   1

Definition at line 17 of file topology.c.

Function Documentation

void __cpuinit detect_extended_topology ( struct cpuinfo_x86 c)

Definition at line 29 of file topology.c.