Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mmconf-fam10h_64.c File Reference
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <linux/pci.h>
#include <linux/dmi.h>
#include <linux/range.h>
#include <asm/pci-direct.h>
#include <linux/sort.h>
#include <asm/io.h>
#include <asm/msr.h>
#include <asm/acpi.h>
#include <asm/mmconfig.h>
#include <asm/pci_x86.h>

Go to the source code of this file.

Data Structures

struct  pci_hostbridge_probe
 

Macros

#define MMCONF_UNIT   (1ULL << FAM10H_MMIO_CONF_BASE_SHIFT)
 
#define MMCONF_MASK   (~(MMCONF_UNIT - 1))
 
#define MMCONF_SIZE   (MMCONF_UNIT << 8)
 
#define FAM10H_PCI_MMCONF_BASE   (0xfcULL<<32)
 
#define BASE_VALID(b)   ((b) + MMCONF_SIZE <= (0xfdULL<<32) || (b) >= (1ULL<<40))
 

Functions

void __cpuinit fam10h_check_enable_mmcfg (void)
 
void __ref check_enable_amd_mmconf_dmi (void)
 

Macro Definition Documentation

#define BASE_VALID (   b)    ((b) + MMCONF_SIZE <= (0xfdULL<<32) || (b) >= (1ULL<<40))

Definition at line 51 of file mmconf-fam10h_64.c.

#define FAM10H_PCI_MMCONF_BASE   (0xfcULL<<32)

Definition at line 50 of file mmconf-fam10h_64.c.

#define MMCONF_MASK   (~(MMCONF_UNIT - 1))

Definition at line 47 of file mmconf-fam10h_64.c.

#define MMCONF_SIZE   (MMCONF_UNIT << 8)

Definition at line 48 of file mmconf-fam10h_64.c.

#define MMCONF_UNIT   (1ULL << FAM10H_MMIO_CONF_BASE_SHIFT)

Definition at line 46 of file mmconf-fam10h_64.c.

Function Documentation

void __ref check_enable_amd_mmconf_dmi ( void  )

Definition at line 234 of file mmconf-fam10h_64.c.

void __cpuinit fam10h_check_enable_mmcfg ( void  )

Definition at line 169 of file mmconf-fam10h_64.c.