Searched defs:VariableMtrr (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/UefiCpuPkg/CpuDxe/
H A DCpuDxe.c896 VARIABLE_MTRR VariableMtrr[MTRR_NUMBER_OF_VARIABLE_MTRR]; local
922 VariableMtrr
956 if (VariableMtrr[Index].Valid &&
957 VariableMtrr[Index].Type == MTRR_CACHE_WRITE_BACK) {
961 VariableMtrr[Index].BaseAddress,
962 VariableMtrr[Index].Length,
972 if (VariableMtrr[Index].Valid &&
973 VariableMtrr[Index].Type != MTRR_CACHE_WRITE_BACK &&
974 VariableMtrr[Index].Type != MTRR_CACHE_UNCACHEABLE) {
975 Attributes = GetMemorySpaceAttributeFromMtrrType ((UINT8) VariableMtrr[Inde
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/UefiCpuPkg/Library/MtrrLib/
H A DMtrrLib.c349 internal array: VariableMtrr.
353 @param VariableMtrr The array to shadow variable MTRRs content
364 OUT VARIABLE_MTRR *VariableMtrr
380 ZeroMem (VariableMtrr, sizeof (VARIABLE_MTRR) * MTRR_NUMBER_OF_VARIABLE_MTRR);
391 VariableMtrr[Index].Msr = MsrNum;
392 VariableMtrr[Index].BaseAddress = (AsmReadMsr64 (MsrNum) &
394 VariableMtrr[Index].Length = ((~(AsmReadMsr64 (MsrNum + 1) &
399 VariableMtrr[Index].Type = (AsmReadMsr64 (MsrNum) & 0x0ff);
400 VariableMtrr[Index].Valid = TRUE;
401 VariableMtrr[Inde
457 InvalidateShadowMtrr( IN UINTN Index, IN VARIABLE_MTRR *VariableMtrr, OUT UINT32 *UsedMtrr ) argument
485 CombineMemoryAttribute( IN UINT64 Attributes, IN OUT UINT64 *Base, IN OUT UINT64 *Length, IN VARIABLE_MTRR *VariableMtrr, IN OUT UINT32 *UsedMtrr, OUT BOOLEAN *OverwriteExistingMtrr ) argument
952 VARIABLE_MTRR VariableMtrr[MTRR_NUMBER_OF_VARIABLE_MTRR]; local
1205 VARIABLE_MTRR VariableMtrr[MTRR_NUMBER_OF_VARIABLE_MTRR]; local
[all...]

Completed in 2480 milliseconds