Home | History | Annotate | Download | only in Library

Lines Matching defs:Mtrr

2   MTRR setting library

28 // Firmware need reserve 2 MTRR for OS
63 // Structure to describe a fixed MTRR
72 // Structure to describe a variable MTRR
84 // Structure to hold base and mask pair for variable MTRR register
95 MTRR_VARIABLE_SETTING Mtrr[MTRR_NUMBER_OF_VARIABLE_MTRR];
102 UINT64 Mtrr[MTRR_NUMBER_OF_FIXED_MTRR];
133 Returns the variable MTRR count for the CPU.
135 @return Variable MTRR count
145 Returns the firmware usable variable MTRR count for the CPU.
147 @return Firmware usable variable MTRR count
212 @return The buffer point to MTRR_VARIABLE_SETTINGS in which holds the content of the variable mtrr
303 @param[in] MtrrValidBitsMask The mask for the valid bit of the MTRR
304 @param[in] MtrrValidAddressMask The valid address mask for MTRR since the base address in
305 MTRR must align to 4K, so valid address mask equal to
331 Checks if MTRR is supported.
333 @retval TRUE MTRR is supported.
334 @retval FALSE MTRR is not supported.
344 Returns the default MTRR cache type for the system.
346 @return The default MTRR cache type.
356 This function attempts to set the attributes into MTRR setting buffer for a memory range.
358 @param[in, out] MtrrSetting MTRR setting buffer to be set.