Home
last modified time | relevance | path

Searched refs:DescriptorBlock (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/AcpiVariableHobOnSmramReserveHobThunk/
DAcpiVariableHobOnSmramReserveHobThunk.c68 EFI_SMRAM_HOB_DESCRIPTOR_BLOCK *DescriptorBlock; in SplitSmramReserveHob() local
83 DescriptorBlock = (EFI_SMRAM_HOB_DESCRIPTOR_BLOCK *)GET_GUID_HOB_DATA (GuidHob); in SplitSmramReserveHob()
89 SmramRanges = DescriptorBlock->NumberOfSmmReservedRegions; in SplitSmramReserveHob()
102 CopyMem ((VOID *)Hob.Raw, DescriptorBlock, BufferSize - sizeof(EFI_SMRAM_DESCRIPTOR)); in SplitSmramReserveHob()
186 EFI_SMRAM_HOB_DESCRIPTOR_BLOCK *DescriptorBlock; in CreateAcpiVariableHob() local
192 DescriptorBlock = GetSrmamHobData (); in CreateAcpiVariableHob()
193 if (DescriptorBlock == NULL) { in CreateAcpiVariableHob()
206 SmramRanges = DescriptorBlock->NumberOfSmmReservedRegions; in CreateAcpiVariableHob()
209 …CopyMem ((VOID *)Hob.Raw, &DescriptorBlock->Descriptor[SmramRanges - 2], sizeof (EFI_SMRAM_DESCRIP… in CreateAcpiVariableHob()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
DPlatformEarlyInit.c832 EFI_SMRAM_HOB_DESCRIPTOR_BLOCK *DescriptorBlock; in PlatformEarlyInitEntry()
845 DescriptorBlock = GET_GUID_HOB_DATA (Hob.Raw); in PlatformEarlyInitEntry()
847 for (Index = 0; Index < DescriptorBlock->NumberOfSmmReservedRegions; Index++) { in PlatformEarlyInitEntry()
850 DescriptorBlock->Descriptor[Index].PhysicalStart, in PlatformEarlyInitEntry()
851 DescriptorBlock->Descriptor[Index].PhysicalSize, in PlatformEarlyInitEntry()
852 DescriptorBlock->Descriptor[Index].RegionState in PlatformEarlyInitEntry()
859 …for (Index = 0, MaxIndex = 0, Size = 0; Index < DescriptorBlock->NumberOfSmmReservedRegions; Index… in PlatformEarlyInitEntry()
863 …if ((DescriptorBlock->Descriptor[Index].RegionState & (EFI_ALLOCATED | EFI_NEEDS_TESTING | EFI_NEE… in PlatformEarlyInitEntry()
869 if (DescriptorBlock->Descriptor[Index].CpuStart < BASE_1MB) { in PlatformEarlyInitEntry()
875 …if ((DescriptorBlock->Descriptor[Index].CpuStart + DescriptorBlock->Descriptor[Index].PhysicalSize… in PlatformEarlyInitEntry()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmAccessPei/
DSmmAccessPei.c312 EFI_SMRAM_HOB_DESCRIPTOR_BLOCK *DescriptorBlock; in SmmAccessPeiEntryPoint() local
335 DescriptorBlock = GET_GUID_HOB_DATA (GuidHob); in SmmAccessPeiEntryPoint()
336 ASSERT (DescriptorBlock); in SmmAccessPeiEntryPoint()
349 ASSERT (DescriptorBlock->NumberOfSmmReservedRegions <= MAX_SMRAM_RANGES); in SmmAccessPeiEntryPoint()
350 for (Index = 0; Index < DescriptorBlock->NumberOfSmmReservedRegions; Index++) { in SmmAccessPeiEntryPoint()
351 …SmmAccessPrivate->SmramDesc[Index].PhysicalStart = DescriptorBlock->Descriptor[Index].PhysicalStar… in SmmAccessPeiEntryPoint()
352 SmmAccessPrivate->SmramDesc[Index].CpuStart = DescriptorBlock->Descriptor[Index].CpuStart; in SmmAccessPeiEntryPoint()
353 …SmmAccessPrivate->SmramDesc[Index].PhysicalSize = DescriptorBlock->Descriptor[Index].PhysicalSize; in SmmAccessPeiEntryPoint()
354 … SmmAccessPrivate->SmramDesc[Index].RegionState = DescriptorBlock->Descriptor[Index].RegionState; in SmmAccessPeiEntryPoint()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmAccessDxe/
DSmmAccessDriver.c58 EFI_SMRAM_HOB_DESCRIPTOR_BLOCK *DescriptorBlock; in SmmAccessDriverEntryPoint() local
85 DescriptorBlock = GET_GUID_HOB_DATA (GuidHob); in SmmAccessDriverEntryPoint()
86 ASSERT (DescriptorBlock); in SmmAccessDriverEntryPoint()
100 ASSERT (DescriptorBlock->NumberOfSmmReservedRegions <= MAX_SMRAM_RANGES); in SmmAccessDriverEntryPoint()
101 for (Index = 0; Index < DescriptorBlock->NumberOfSmmReservedRegions; Index++) { in SmmAccessDriverEntryPoint()
102 mSmmAccess.SmramDesc[Index].PhysicalStart = DescriptorBlock->Descriptor[Index].PhysicalStart; in SmmAccessDriverEntryPoint()
103 mSmmAccess.SmramDesc[Index].CpuStart = DescriptorBlock->Descriptor[Index].CpuStart; in SmmAccessDriverEntryPoint()
104 mSmmAccess.SmramDesc[Index].PhysicalSize = DescriptorBlock->Descriptor[Index].PhysicalSize; in SmmAccessDriverEntryPoint()
105 mSmmAccess.SmramDesc[Index].RegionState = DescriptorBlock->Descriptor[Index].RegionState; in SmmAccessDriverEntryPoint()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/
DAcpiSmmPlatform.c224 EFI_SMRAM_HOB_DESCRIPTOR_BLOCK *DescriptorBlock; in ReservedS3Memory() local
236 DescriptorBlock = GET_GUID_HOB_DATA (GuidHob); in ReservedS3Memory()
237 ASSERT (DescriptorBlock); in ReservedS3Memory()
242 TsegIndex = DescriptorBlock->NumberOfSmmReservedRegions - 1; in ReservedS3Memory()
244 TsegBase = (UINTN)DescriptorBlock->Descriptor[TsegIndex].PhysicalStart; in ReservedS3Memory()
245 TsegSize = (UINTN)DescriptorBlock->Descriptor[TsegIndex].PhysicalSize; in ReservedS3Memory()