Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

mtrr.h File Reference

#include "pshpack1.h"
#include "poppack.h"

Go to the source code of this file.

Classes

struct  _MTRR_CAPABILITIES
struct  _MTRR_DEFAULT
struct  _MTRR_VARIABLE_BASE
struct  _MTRR_VARIABLE_MASK

Defines

#define MTRR_MSR_CAPABILITIES   0x0fe
#define MTRR_MSR_DEFAULT   0x2ff
#define MTRR_MSR_VARIABLE_BASE   0x200
#define MTRR_MSR_VARIABLE_MASK   (MTRR_MSR_VARIABLE_BASE+1)
#define MTRR_PAGE_SIZE   4096
#define MTRR_PAGE_MASK   (~(MTRR_PAGE_SIZE-1))
#define MTRR_TYPE_UC   0
#define MTRR_TYPE_USWC   1
#define MTRR_TYPE_WT   4
#define MTRR_TYPE_WP   5
#define MTRR_TYPE_WB   6
#define MTRR_TYPE_MAX   7
#define MTRR_MASK_BASE   0x0000000ffffff000
#define MTRR_MASK_MASK   0x0000000ffffff000
#define MASK_OVERFLOW_MASK   (~0x1000000000)
#define MTRR_RESVBIT_MASK   0xfffffffff
#define MTRR_MAX_RANGE_SHIFT   36

Typedefs

typedef _MTRR_CAPABILITIES MTRR_CAPABILITIES
typedef _MTRR_CAPABILITIESPMTRR_CAPABILITIES
typedef _MTRR_DEFAULT MTRR_DEFAULT
typedef _MTRR_DEFAULTPMTRR_DEFAULT
typedef _MTRR_VARIABLE_BASE MTRR_VARIABLE_BASE
typedef _MTRR_VARIABLE_BASEPMTRR_VARIABLE_BASE
typedef _MTRR_VARIABLE_MASK MTRR_VARIABLE_MASK
typedef _MTRR_VARIABLE_MASKPMTRR_VARIABLE_MASK


Define Documentation

#define MASK_OVERFLOW_MASK   (~0x1000000000)
 

Definition at line 120 of file mtrr.h.

Referenced by KiInitializeMTRR().

#define MTRR_MASK_BASE   0x0000000ffffff000
 

Definition at line 97 of file mtrr.h.

Referenced by KiInitializeMTRR().

#define MTRR_MASK_MASK   0x0000000ffffff000
 

Definition at line 112 of file mtrr.h.

Referenced by KiCompleteEffectiveRangeChange(), and KiInitializeMTRR().

#define MTRR_MAX_RANGE_SHIFT   36
 

Definition at line 122 of file mtrr.h.

Referenced by KiCompleteEffectiveRangeChange(), KiLengthToMask(), and KiMaskToLength().

#define MTRR_MSR_CAPABILITIES   0x0fe
 

Definition at line 30 of file mtrr.h.

Referenced by KiInitializeMTRR().

#define MTRR_MSR_DEFAULT   0x2ff
 

Definition at line 31 of file mtrr.h.

Referenced by KiInitializeMTRR(), and KiLoadMTRR().

#define MTRR_MSR_VARIABLE_BASE   0x200
 

Definition at line 32 of file mtrr.h.

Referenced by KiInitializeMTRR(), and KiLoadMTRR().

#define MTRR_MSR_VARIABLE_MASK   (MTRR_MSR_VARIABLE_BASE+1)
 

Definition at line 33 of file mtrr.h.

Referenced by KiInitializeMTRR(), and KiLoadMTRR().

#define MTRR_PAGE_MASK   (~(MTRR_PAGE_SIZE-1))
 

Definition at line 36 of file mtrr.h.

Referenced by KiCompleteEffectiveRangeChange().

#define MTRR_PAGE_SIZE   4096
 

Definition at line 35 of file mtrr.h.

Referenced by KiCompleteEffectiveRangeChange().

#define MTRR_RESVBIT_MASK   0xfffffffff
 

Definition at line 121 of file mtrr.h.

Referenced by KiLengthToMask().

#define MTRR_TYPE_MAX   7
 

Definition at line 47 of file mtrr.h.

Referenced by KeSetPhysicalCacheTypeRange(), KiCompleteEffectiveRangeChange(), and KiInitializeMTRR().

#define MTRR_TYPE_UC   0
 

Definition at line 42 of file mtrr.h.

Referenced by KeSetPhysicalCacheTypeRange(), KiCompleteEffectiveRangeChange(), KiInitializeMTRR(), and KiRangeWeight().

#define MTRR_TYPE_USWC   1
 

Definition at line 43 of file mtrr.h.

Referenced by KeSetPhysicalCacheTypeRange(), KiCompleteEffectiveRangeChange(), and KiRangeWeight().

#define MTRR_TYPE_WB   6
 

Definition at line 46 of file mtrr.h.

Referenced by KiCompleteEffectiveRangeChange(), KiInitializeMTRR(), and KiRangeWeight().

#define MTRR_TYPE_WP   5
 

Definition at line 45 of file mtrr.h.

Referenced by KiRangeWeight().

#define MTRR_TYPE_WT   4
 

Definition at line 44 of file mtrr.h.

Referenced by KiCompleteEffectiveRangeChange(), KiInitializeMTRR(), and KiRangeWeight().


Typedef Documentation

typedef struct _MTRR_CAPABILITIES MTRR_CAPABILITIES
 

Referenced by KiInitializeMTRR().

typedef struct _MTRR_DEFAULT MTRR_DEFAULT
 

Referenced by KiInitializeMTRR().

typedef struct _MTRR_VARIABLE_BASE MTRR_VARIABLE_BASE
 

Referenced by KiInitializeMTRR().

typedef struct _MTRR_VARIABLE_MASK MTRR_VARIABLE_MASK
 

Referenced by KiInitializeMTRR().

typedef struct _MTRR_CAPABILITIES * PMTRR_CAPABILITIES
 

typedef struct _MTRR_DEFAULT * PMTRR_DEFAULT
 

typedef struct _MTRR_VARIABLE_BASE * PMTRR_VARIABLE_BASE
 

typedef struct _MTRR_VARIABLE_MASK * PMTRR_VARIABLE_MASK
 


Generated on Sat May 15 19:44:48 2004 for test by doxygen 1.3.7