Home
last modified time | relevance | path

Searched refs:SubIndex (Results 1 – 16 of 16) sorted by relevance

/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/
DRuntimeMemAllocation.c138 UINTN SubIndex; in LookupFreeMemRegion() local
151 for (SubIndex = 0; SubIndex < ReqPages; SubIndex++) { in LookupFreeMemRegion()
152 if ((mRTPageTable->Pages[SubIndex + Index].PageFlag & RT_PAGE_USED) != 0) { in LookupFreeMemRegion()
157 if (SubIndex == ReqPages) { in LookupFreeMemRegion()
167 while ((mRTPageTable->Pages[SubIndex + Index].PageFlag & RT_PAGE_USED) != 0) { in LookupFreeMemRegion()
168 SubIndex++; in LookupFreeMemRegion()
171 Index += SubIndex; in LookupFreeMemRegion()
182 for (SubIndex = 0; SubIndex < ReqPages; SubIndex++) { in LookupFreeMemRegion()
183 if ((mRTPageTable->Pages[SubIndex + Index].PageFlag & RT_PAGE_USED) != 0) { in LookupFreeMemRegion()
188 if (SubIndex == ReqPages) { in LookupFreeMemRegion()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/AcpiVariableHobOnSmramReserveHobThunk/
DAcpiVariableHobOnSmramReserveHobThunk.c73 UINTN SubIndex; in SplitSmramReserveHob() local
145 …for (SubIndex = Index; SubIndex < NewDescriptorBlock->NumberOfSmmReservedRegions - 1; SubIndex++) { in SplitSmramReserveHob()
146 …CopyMem (&NewDescriptorBlock->Descriptor[SubIndex], &NewDescriptorBlock->Descriptor[SubIndex + 1],… in SplitSmramReserveHob()
151 ZeroMem (&NewDescriptorBlock->Descriptor[SubIndex], sizeof(EFI_SMRAM_DESCRIPTOR)); in SplitSmramReserveHob()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/
DCpuIdEx.c21 IN UINT32 SubIndex, in AsmCpuidEx() argument
30 mov ecx, SubIndex in AsmCpuidEx()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/
DCpuIdEx.c51 IN UINT32 SubIndex, in AsmCpuidEx() argument
60 mov ecx, SubIndex in AsmCpuidEx()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DCpuService.c53 UINT32 SubIndex; in SmmGetProcessorLocation() local
113 SubIndex = 1; in SmmGetProcessorLocation()
115 AsmCpuidEx (CPUID_EXTENDED_TOPOLOGY, SubIndex, &RegEax, NULL, &RegEcx, NULL); in SmmGetProcessorLocation()
121 SubIndex++; in SmmGetProcessorLocation()
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/
DCpuDxe.c637 UINTN SubIndex; in RefreshGcdMemoryAttributes() local
765 for (SubIndex = 0; SubIndex < 8; SubIndex++) { in RefreshGcdMemoryAttributes()
766 MtrrType = (UINT8) RShiftU64 (RegValue, SubIndex * 8); in RefreshGcdMemoryAttributes()
785 … BaseAddress = mFixedMtrrTable[Index].BaseAddress + mFixedMtrrTable[Index].Length * SubIndex; in RefreshGcdMemoryAttributes()
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuMpPei/
DPeiMpServices.c56 UINT32 SubIndex; in ExtractProcessorLocation() local
111 SubIndex = 1; in ExtractProcessorLocation()
113 AsmCpuidEx (CPUID_EXTENDED_TOPOLOGY, SubIndex, &RegEax, NULL, &RegEcx, NULL); in ExtractProcessorLocation()
119 SubIndex++; in ExtractProcessorLocation()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/
DEmuVariable.c484 UINTN SubIndex; in GetLangFromSupportedLangCodes() local
488 SubIndex = 0; in GetLangFromSupportedLangCodes()
508 if ((*Supported == '\0') && (SubIndex != Index)) { in GetLangFromSupportedLangCodes()
516 if (SubIndex == Index) { in GetLangFromSupportedLangCodes()
525 SubIndex++; in GetLangFromSupportedLangCodes()
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/
DFSVariable.c671 UINTN SubIndex; in GetLangFromSupportedLangCodes() local
675 SubIndex = 0; in GetLangFromSupportedLangCodes()
695 if ((*Supported == '\0') && (SubIndex != Index)) { in GetLangFromSupportedLangCodes()
703 if (SubIndex == Index) { in GetLangFromSupportedLangCodes()
712 SubIndex++; in GetLangFromSupportedLangCodes()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
DLegacyBootSupport.c53 UINT16 SubIndex; in PrintBbsTable() local
97 for (SubIndex = 0; String[SubIndex] != 0; SubIndex++) { in PrintBbsTable()
98 DEBUG ((EFI_D_INFO, "%c", String[SubIndex])); in PrintBbsTable()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/MtrrLib/
DMtrrLib.c1138 UINTN SubIndex; in MtrrGetMemoryAttributeByAddressWorker() local
1177 SubIndex = in MtrrGetMemoryAttributeByAddressWorker()
1185 MtrrType = RShiftU64 (TempQword, SubIndex * 8) & 0xFF; in MtrrGetMemoryAttributeByAddressWorker()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/
DMtrrLib.c1143 UINTN SubIndex; in MtrrGetMemoryAttributeByAddressWorker() local
1182 SubIndex = in MtrrGetMemoryAttributeByAddressWorker()
1190 MtrrType = RShiftU64 (TempQword, SubIndex * 8) & 0xFF; in MtrrGetMemoryAttributeByAddressWorker()
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
DVariable.c1416 UINTN SubIndex; in GetLangFromSupportedLangCodes() local
1420 SubIndex = 0; in GetLangFromSupportedLangCodes()
1440 if ((*Supported == '\0') && (SubIndex != Index)) { in GetLangFromSupportedLangCodes()
1448 if (SubIndex == Index) { in GetLangFromSupportedLangCodes()
1457 SubIndex++; in GetLangFromSupportedLangCodes()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariable.c1483 UINTN SubIndex; in GetLangFromSupportedLangCodes() local
1487 SubIndex = 0; in GetLangFromSupportedLangCodes()
1507 if ((*Supported == '\0') && (SubIndex != Index)) { in GetLangFromSupportedLangCodes()
1515 if (SubIndex == Index) { in GetLangFromSupportedLangCodes()
1524 SubIndex++; in GetLangFromSupportedLangCodes()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/
DEdkIIGlueBaseLib.h5231 IN UINT32 SubIndex,
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DBaseLib.h5597 IN UINT32 SubIndex,