Home
last modified time | relevance | path

Searched refs:DescriptorIndex (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/SmmAccess2OnSmmAccessThunk/
DSmmAccess2OnSmmAccessThunk.c49 UINTN DescriptorIndex; in SmmAccess2Open() local
56 …for (DescriptorIndex = 0; DescriptorIndex < mSmramRegionNumber && !EFI_ERROR (Status); DescriptorI… in SmmAccess2Open()
57 Status = mSmmAccess->Open (mSmmAccess, DescriptorIndex); in SmmAccess2Open()
84 UINTN DescriptorIndex; in SmmAccess2Close() local
91 …for (DescriptorIndex = 0; DescriptorIndex < mSmramRegionNumber && !EFI_ERROR (Status); DescriptorI… in SmmAccess2Close()
92 Status = mSmmAccess->Close (mSmmAccess, DescriptorIndex); in SmmAccess2Close()
118 UINTN DescriptorIndex; in SmmAccess2Lock() local
125 …for (DescriptorIndex = 0; DescriptorIndex < mSmramRegionNumber && !EFI_ERROR (Status); DescriptorI… in SmmAccess2Lock()
126 Status = mSmmAccess->Lock (mSmmAccess, DescriptorIndex); in SmmAccess2Lock()
/device/linaro/bootloader/edk2/OvmfPkg/Csm/CsmSupportLib/
DLegacyRegion.c385 UINTN DescriptorIndex; in LegacyRegionGetInfo() local
400 DescriptorIndex = 0; in LegacyRegionGetInfo()
402 DescriptorArray[DescriptorIndex].Start = SectionInfo[Index].Start; in LegacyRegionGetInfo()
403 DescriptorArray[DescriptorIndex].Length = SectionInfo[Index].Length; in LegacyRegionGetInfo()
404 DescriptorArray[DescriptorIndex].Granularity = SectionInfo[Index].Length; in LegacyRegionGetInfo()
406 DescriptorArray[DescriptorIndex].Attribute = LegacyRegionDecoded; in LegacyRegionGetInfo()
408 DescriptorArray[DescriptorIndex].Attribute = LegacyRegionNotDecoded; in LegacyRegionGetInfo()
410 DescriptorIndex++; in LegacyRegionGetInfo()
415 DescriptorArray[DescriptorIndex].Start = SectionInfo[Index].Start; in LegacyRegionGetInfo()
416 DescriptorArray[DescriptorIndex].Length = SectionInfo[Index].Length; in LegacyRegionGetInfo()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmAccessPei/
DSmmAccessPei.c59 IN UINTN DescriptorIndex in Open() argument
89 if (DescriptorIndex >= SmmAccess->NumberRegions) { in Open()
91 } else if (SmmAccess->SmramDesc[DescriptorIndex].RegionState & EFI_SMRAM_LOCKED) { in Open()
99 SmmAccess->SmramDesc[DescriptorIndex].RegionState |= EFI_SMRAM_LOCKED; in Open()
103 SmmAccess->SmramDesc[DescriptorIndex].RegionState &= ~(EFI_SMRAM_CLOSED | EFI_ALLOCATED); in Open()
104 SmmAccess->SmramDesc[DescriptorIndex].RegionState |= EFI_SMRAM_OPEN; in Open()
115 IN UINTN DescriptorIndex in Close() argument
146 if (DescriptorIndex >= SmmAccess->NumberRegions) { in Close()
148 } else if (SmmAccess->SmramDesc[DescriptorIndex].RegionState & EFI_SMRAM_LOCKED) { in Close()
152 if (SmmAccess->SmramDesc[DescriptorIndex].RegionState & EFI_SMRAM_CLOSED) { in Close()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Protocol/
DSmmAccess.h54 UINTN DescriptorIndex
74 UINTN DescriptorIndex
94 UINTN DescriptorIndex
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/SmmAccess/
DSmmAccess.h43 UINTN DescriptorIndex
50 UINTN DescriptorIndex
57 UINTN DescriptorIndex
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Ppi/
DSmmAccess.h56 IN UINTN DescriptorIndex
79 IN UINTN DescriptorIndex
103 IN UINTN DescriptorIndex
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/NorthCluster/Include/Ppi/
DSmmAccess.h50 IN UINTN DescriptorIndex
78 IN UINTN DescriptorIndex
107 IN UINTN DescriptorIndex
/device/linaro/bootloader/edk2/OvmfPkg/SmmAccess/
DSmmAccessPei.c70 IN UINTN DescriptorIndex in SmmAccessPeiOpen() argument
73 if (DescriptorIndex >= DescIdxCount) { in SmmAccessPeiOpen()
108 IN UINTN DescriptorIndex in SmmAccessPeiClose() argument
111 if (DescriptorIndex >= DescIdxCount) { in SmmAccessPeiClose()
145 IN UINTN DescriptorIndex in SmmAccessPeiLock() argument
148 if (DescriptorIndex >= DescIdxCount) { in SmmAccessPeiLock()
/device/linaro/bootloader/edk2/MdeModulePkg/Application/MemoryProfileInfo/
DMemoryProfileInfo.c395 IN UINTN DescriptorIndex, in DumpMemoryProfileDescriptor() argument
402 Print (L" MEMORY_PROFILE_DESCRIPTOR (0x%x)\n", DescriptorIndex); in DumpMemoryProfileDescriptor()
426 UINTN DescriptorIndex; in DumpMemoryProfileFreeMemory() local
439 for (DescriptorIndex = 0; DescriptorIndex < FreeMemory->FreeMemoryEntryCount; DescriptorIndex++) { in DumpMemoryProfileFreeMemory()
440 Descriptor = DumpMemoryProfileDescriptor (DescriptorIndex, Descriptor); in DumpMemoryProfileFreeMemory()
463 UINTN DescriptorIndex; in DumpMemoryProfileMemoryRange() local
475 for (DescriptorIndex = 0; DescriptorIndex < MemoryRange->MemoryRangeCount; DescriptorIndex++) { in DumpMemoryProfileMemoryRange()
476 Descriptor = DumpMemoryProfileDescriptor (DescriptorIndex, Descriptor); in DumpMemoryProfileMemoryRange()