/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SmmCommunicationBufferDxe/ |
D | SmmCommunicationBufferDxe.c | 51 UINT32 DescriptorSize; in SmmCommunicationBufferEntryPoint() local 55 DescriptorSize = sizeof(EFI_MEMORY_DESCRIPTOR); in SmmCommunicationBufferEntryPoint() 61 DescriptorSize += sizeof(UINT64) - (DescriptorSize % sizeof (UINT64)); in SmmCommunicationBufferEntryPoint() 66 …ionTable = AllocateReservedPool (sizeof(EDKII_PI_SMM_COMMUNICATION_REGION_TABLE) + DescriptorSize); in SmmCommunicationBufferEntryPoint() 68 … (PiSmmCommunicationRegionTable, sizeof(EDKII_PI_SMM_COMMUNICATION_REGION_TABLE) + DescriptorSize); in SmmCommunicationBufferEntryPoint() 72 PiSmmCommunicationRegionTable->DescriptorSize = DescriptorSize; in SmmCommunicationBufferEntryPoint() 84 DEBUG ((EFI_D_INFO, " DescriptorSize - 0x%x\n", PiSmmCommunicationRegionTable->DescriptorSize)); in SmmCommunicationBufferEntryPoint()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/ |
D | MemoryAttributesTable.c | 69 OUT UINTN *DescriptorSize, 90 UINTN DescriptorSize; in InstallMemoryAttributesTable() local 127 &DescriptorSize, in InstallMemoryAttributesTable() 140 &DescriptorSize, in InstallMemoryAttributesTable() 150 for (Index = 0; Index < MemoryMapSize/DescriptorSize; Index++) { in InstallMemoryAttributesTable() 157 MemoryMap = NEXT_MEMORY_DESCRIPTOR(MemoryMap, DescriptorSize); in InstallMemoryAttributesTable() 163 …MemoryAttributesTable = AllocatePool (sizeof(EFI_MEMORY_ATTRIBUTES_TABLE) + DescriptorSize * Runti… in InstallMemoryAttributesTable() 167 MemoryAttributesTable->DescriptorSize = (UINT32)DescriptorSize; in InstallMemoryAttributesTable() 172 …DEBUG ((EFI_D_VERBOSE, " DescriptorSize - 0x%08x\n", MemoryAttributesTable->DescriptorSize)… in InstallMemoryAttributesTable() 175 for (Index = 0; Index < MemoryMapSize/DescriptorSize; Index++) { in InstallMemoryAttributesTable() [all …]
|
D | PropertiesTable.c | 165 IN UINTN DescriptorSize in SortMemoryMap() argument 174 NextMemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (MemoryMapEntry, DescriptorSize); in SortMemoryMap() 184 NextMemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (NextMemoryMapEntry, DescriptorSize); in SortMemoryMap() 187 MemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (MemoryMapEntry, DescriptorSize); in SortMemoryMap() 188 NextMemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (MemoryMapEntry, DescriptorSize); in SortMemoryMap() 210 IN UINTN DescriptorSize in MergeMemoryMap() argument 224 NextMemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (MemoryMapEntry, DescriptorSize); in MergeMemoryMap() 237 NextMemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (NextMemoryMapEntry, DescriptorSize); in MergeMemoryMap() 240 MemoryMapEntry = PREVIOUS_MEMORY_DESCRIPTOR (NextMemoryMapEntry, DescriptorSize); in MergeMemoryMap() 245 MemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (MemoryMapEntry, DescriptorSize); in MergeMemoryMap() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
D | MemoryAttributesTable.c | 129 UINTN DescriptorSize; in SmmMemoryAttributesTableConsistencyCheck() local 135 DescriptorSize = MemoryAttributesTable->DescriptorSize; in SmmMemoryAttributesTableConsistencyCheck() 142 MemoryMap = NEXT_MEMORY_DESCRIPTOR(MemoryMap, DescriptorSize); in SmmMemoryAttributesTableConsistencyCheck() 159 IN UINTN DescriptorSize in SortMemoryMap() argument 168 NextMemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (MemoryMapEntry, DescriptorSize); in SortMemoryMap() 178 NextMemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (NextMemoryMapEntry, DescriptorSize); in SortMemoryMap() 181 MemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (MemoryMapEntry, DescriptorSize); in SortMemoryMap() 182 NextMemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (MemoryMapEntry, DescriptorSize); in SortMemoryMap() 204 IN UINTN DescriptorSize in MergeMemoryMap() argument 218 NextMemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (MemoryMapEntry, DescriptorSize); in MergeMemoryMap() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PropertiesTableAttributesDxe/ |
D | PropertiesTableAttributesDxe.c | 56 IN UINTN DescriptorSize in SetMemorySpaceAttributesDefault() argument 72 MemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (MemoryMapEntry, DescriptorSize); in SetMemorySpaceAttributesDefault() 101 MemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (MemoryMapEntry, DescriptorSize); in SetMemorySpaceAttributesDefault() 124 UINTN DescriptorSize; in UpdateMemoryAttributesDefault() local 150 &DescriptorSize, in UpdateMemoryAttributesDefault() 161 &DescriptorSize, in UpdateMemoryAttributesDefault() 170 SetMemorySpaceAttributesDefault (MemoryMap, MemoryMapSize, DescriptorSize); in UpdateMemoryAttributesDefault()
|
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemLib/ |
D | SmmMemLib.c | 345 UINTN DescriptorSize; in SmmLibInternalEndOfDxeNotify() local 355 &DescriptorSize, in SmmLibInternalEndOfDxeNotify() 368 &DescriptorSize, in SmmLibInternalEndOfDxeNotify() 379 mDescriptorSize = DescriptorSize; in SmmLibInternalEndOfDxeNotify() 380 MemoryMapEntryCount = MemoryMapSize/DescriptorSize; in SmmLibInternalEndOfDxeNotify() 392 MemoryMap = NEXT_MEMORY_DESCRIPTOR(MemoryMap, DescriptorSize); in SmmLibInternalEndOfDxeNotify() 399 mMemoryMap = AllocatePool (mMemoryMapEntryCount*DescriptorSize); in SmmLibInternalEndOfDxeNotify() 408 CopyMem (mMemoryMap, MemoryMap, DescriptorSize); in SmmLibInternalEndOfDxeNotify() 409 mMemoryMap = NEXT_MEMORY_DESCRIPTOR(mMemoryMap, DescriptorSize); in SmmLibInternalEndOfDxeNotify() 412 MemoryMap = NEXT_MEMORY_DESCRIPTOR(MemoryMap, DescriptorSize); in SmmLibInternalEndOfDxeNotify()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
D | SmmCpuMemoryManagement.c | 770 UINTN DescriptorSize; in SetMemMapAttributes() local 783 …UG ((DEBUG_INFO, " DescriptorSize - 0x%08x\n", MemoryAttributesTable->DescriptorSize)); in SetMemMapAttributes() 786 DescriptorSize = MemoryAttributesTable->DescriptorSize; in SetMemMapAttributes() 796 MemoryMap = NEXT_MEMORY_DESCRIPTOR(MemoryMap, DescriptorSize); in SetMemMapAttributes() 825 MemoryMap = NEXT_MEMORY_DESCRIPTOR(MemoryMap, DescriptorSize); in SetMemMapAttributes() 847 IN UINTN DescriptorSize in SortMemoryMap() argument 856 NextMemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (MemoryMapEntry, DescriptorSize); in SortMemoryMap() 866 NextMemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (NextMemoryMapEntry, DescriptorSize); in SortMemoryMap() 869 MemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (MemoryMapEntry, DescriptorSize); in SortMemoryMap() 870 NextMemoryMapEntry = NEXT_MEMORY_DESCRIPTOR (MemoryMapEntry, DescriptorSize); in SortMemoryMap() [all …]
|
/device/linaro/bootloader/edk2/BeagleBoardPkg/Library/ResetSystemLib/ |
D | ResetSystemLib.c | 39 UINTN DescriptorSize; in ShutdownEfi() local 50 &DescriptorSize, in ShutdownEfi() 65 &DescriptorSize, in ShutdownEfi()
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D02/FdtUpdateLibD02/ |
D | FdtUpdateLib.c | 167 UINTN DescriptorSize; in UpdateMemoryNode() local 199 …Status = gBS->GetMemoryMap (&MemoryMapSize, MemoryMap, &MapKey, &DescriptorSize, &DescriptorVersio… in UpdateMemoryNode() 212 …Status = gBS->GetMemoryMap (&MemoryMapSize, MemoryMap, &MapKey, &DescriptorSize, &DescriptorVersio… in UpdateMemoryNode() 223 Pages1 = EFI_SIZE_TO_PAGES (sizeof(PHY_MEM_REGION) *( MemoryMapSize / DescriptorSize)); in UpdateMemoryNode() 238 for ( Index = 0; Index < (MemoryMapSize / DescriptorSize); Index++) in UpdateMemoryNode() 240 … MemoryMapPtrCurrent = (EFI_MEMORY_DESCRIPTOR*)((UINTN)MemoryMapPtr + Index*DescriptorSize); in UpdateMemoryNode()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/ |
D | BdsHelper.c | 26 UINTN DescriptorSize; in ShutdownUefiBootServices() local 39 &DescriptorSize, in ShutdownUefiBootServices() 54 &DescriptorSize, in ShutdownUefiBootServices()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/X64/ |
D | Fvb.c | 69 UINTN DescriptorSize; in IsMemoryRuntime() local 87 &DescriptorSize, in IsMemoryRuntime() 109 &DescriptorSize, in IsMemoryRuntime() 118 for (Index = 0; Index < (MemoryMapSize / DescriptorSize); Index++) { in IsMemoryRuntime() 133 MemoryMap = (EFI_MEMORY_DESCRIPTOR *)((UINTN)MemoryMap + DescriptorSize); in IsMemoryRuntime()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/ |
D | Fvb.c | 69 UINTN DescriptorSize; in IsMemoryRuntime() local 87 &DescriptorSize, in IsMemoryRuntime() 109 &DescriptorSize, in IsMemoryRuntime() 118 for (Index = 0; Index < (MemoryMapSize / DescriptorSize); Index++) { in IsMemoryRuntime() 133 MemoryMap = (EFI_MEMORY_DESCRIPTOR *)((UINTN)MemoryMap + DescriptorSize); in IsMemoryRuntime()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/RuntimeDxe/ |
D | Runtime.c | 240 IN UINTN DescriptorSize, in RuntimeDriverSetVirtualAddressMap() argument 261 …if (DescriptorVersion != EFI_MEMORY_DESCRIPTOR_VERSION || DescriptorSize < sizeof (EFI_MEMORY_DESC… in RuntimeDriverSetVirtualAddressMap() 273 mVirtualMapDescriptorSize = DescriptorSize; in RuntimeDriverSetVirtualAddressMap() 274 mVirtualMapMaxIndex = MemoryMapSize / DescriptorSize; in RuntimeDriverSetVirtualAddressMap()
|
D | Runtime.h | 101 IN UINTN DescriptorSize,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Application/CapsuleApp/ |
D | CapsuleDump.c | 532 IN UINTN DescriptorSize, in DumpFmpImageInfo() argument 542 Print(L" DescriptorSize - 0x%x\n", DescriptorSize); in DumpFmpImageInfo() 580 … CurrentImageInfo = (EFI_FIRMWARE_IMAGE_DESCRIPTOR *)((UINT8 *)CurrentImageInfo + DescriptorSize); in DumpFmpImageInfo() 632 UINTN DescriptorSize; in DumpFmpData() local 693 &DescriptorSize, // DescriptorSize in DumpFmpData() 713 DescriptorSize, // DescriptorSize in DumpFmpData() 773 IN UINTN DescriptorSize, in IsThisFmpImageInfo() argument 785 … CurrentImageInfo = (EFI_FIRMWARE_IMAGE_DESCRIPTOR *)((UINT8 *)CurrentImageInfo + DescriptorSize); in IsThisFmpImageInfo() 812 UINTN DescriptorSize; in FindFmpFromImageTypeId() local 869 &DescriptorSize, // DescriptorSize in FindFmpFromImageTypeId() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D03/Library/FdtUpdateLib/ |
D | FdtUpdateLib.c | 297 UINTN DescriptorSize; in UpdateMemoryNode() local 315 …Status = gBS->GetMemoryMap (&MemoryMapSize, MemoryMap, &MapKey, &DescriptorSize, &DescriptorVersio… in UpdateMemoryNode() 327 …Status = gBS->GetMemoryMap (&MemoryMapSize, MemoryMap, &MapKey, &DescriptorSize, &DescriptorVersio… in UpdateMemoryNode() 343 Pages1 = EFI_SIZE_TO_PAGES (sizeof(PHY_MEM_REGION) *( MemoryMapSize / DescriptorSize)); in UpdateMemoryNode() 359 for (Index = 0; Index < (MemoryMapSize / DescriptorSize); Index++) in UpdateMemoryNode() 361 MemoryMapPtrCurrent = (EFI_MEMORY_DESCRIPTOR*)((UINTN)MemoryMapPtr + Index*DescriptorSize); in UpdateMemoryNode()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsbDxe/ |
D | DwUsbDxe.c | 232 UINTN DescriptorSize; in HandleGetDescriptor() local 257 DescriptorSize = sizeof (EFI_USB_STRING_DESCRIPTOR) + in HandleGetDescriptor() 259 Descriptor = (EFI_USB_STRING_DESCRIPTOR *)AllocateZeroPool (DescriptorSize); in HandleGetDescriptor() 268 DescriptorSize = sizeof (EFI_USB_STRING_DESCRIPTOR) + in HandleGetDescriptor() 270 Descriptor = (EFI_USB_STRING_DESCRIPTOR *)AllocateZeroPool (DescriptorSize); in HandleGetDescriptor() 279 DescriptorSize = sizeof (EFI_USB_STRING_DESCRIPTOR) + in HandleGetDescriptor() 281 Descriptor = (EFI_USB_STRING_DESCRIPTOR *)AllocateZeroPool (DescriptorSize); in HandleGetDescriptor() 290 DescriptorSize = sizeof (EFI_USB_STRING_DESCRIPTOR) + in HandleGetDescriptor() 292 Descriptor = (EFI_USB_STRING_DESCRIPTOR *)AllocateZeroPool (DescriptorSize); in HandleGetDescriptor()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Guid/ |
D | MemoryAttributesTable.h | 25 UINT32 DescriptorSize; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Guid/ |
D | PiSmmMemoryAttributesTable.h | 42 UINT32 DescriptorSize; member
|
D | PiSmmCommunicationRegionTable.h | 54 UINT32 DescriptorSize; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PlatformVarCleanupLib/ |
D | PlatVarCleanupLib.c | 355 UINTN DescriptorSize; in CreateTimeBasedPayload() local 371 …DescriptorSize = OFFSET_OF (EFI_VARIABLE_AUTHENTICATION_2, AuthInfo) + OFFSET_OF (WIN_CERTIFICATE_… in CreateTimeBasedPayload() 372 NewData = (UINT8 *) AllocateZeroPool (DescriptorSize + PayloadSize); in CreateTimeBasedPayload() 378 CopyMem (NewData + DescriptorSize, Payload, PayloadSize); in CreateTimeBasedPayload() 405 *DataSize = DescriptorSize + PayloadSize; in CreateTimeBasedPayload() 439 UINTN DescriptorSize; in CreateCounterBasedPayload() local 455 DescriptorSize = (OFFSET_OF (EFI_VARIABLE_AUTHENTICATION, AuthInfo)) + \ in CreateCounterBasedPayload() 458 NewData = (UINT8 *) AllocateZeroPool (DescriptorSize + PayloadSize); in CreateCounterBasedPayload() 464 CopyMem (NewData + DescriptorSize, Payload, PayloadSize); in CreateCounterBasedPayload() 485 *DataSize = DescriptorSize + PayloadSize; in CreateCounterBasedPayload()
|
/device/linaro/bootloader/edk2/SignedCapsulePkg/Universal/SystemFirmwareUpdate/ |
D | SystemFirmwareCommonDxe.c | 75 OUT UINTN *DescriptorSize, in FmpGetImageInfo() argument 97 DescriptorSize == NULL || in FmpGetImageInfo() 104 *DescriptorSize = sizeof(EFI_FIRMWARE_IMAGE_DESCRIPTOR); in FmpGetImageInfo()
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/LoadLinuxLib/ |
D | Linux.c | 256 UINTN DescriptorSize; in SetupLinuxMemmap() local 276 &DescriptorSize, in SetupLinuxMemmap() 298 &DescriptorSize, in SetupLinuxMemmap() 308 for (Index = 0; Index < (MemoryMapSize / DescriptorSize); Index++) { in SetupLinuxMemmap() 375 MemoryMap = (EFI_MEMORY_DESCRIPTOR *)((UINTN)MemoryMap + DescriptorSize); in SetupLinuxMemmap() 381 Efi->efi_memdesc_size = (UINT32) DescriptorSize; in SetupLinuxMemmap()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCapsuleLibFmp/ |
D | DxeCapsuleLib.c | 669 IN UINTN DescriptorSize, in DumpFmpImageInfo() argument 679 DEBUG((DEBUG_VERBOSE, " DescriptorSize - 0x%x\n", DescriptorSize)); in DumpFmpImageInfo() 706 … CurrentImageInfo = (EFI_FIRMWARE_IMAGE_DESCRIPTOR *)((UINT8 *)CurrentImageInfo + DescriptorSize); in DumpFmpImageInfo() 769 UINTN DescriptorSize; in DumpAllFmpInfo() local 821 &DescriptorSize, // DescriptorSize in DumpAllFmpInfo() 836 DescriptorSize, // DescriptorSize in DumpAllFmpInfo() 883 UINTN DescriptorSize; in GetFmpHandleBufferByType() local 947 &DescriptorSize, // DescriptorSize in GetFmpHandleBufferByType() 974 … TempFmpImageInfo = (EFI_FIRMWARE_IMAGE_DESCRIPTOR *)((UINT8 *)TempFmpImageInfo + DescriptorSize); in GetFmpHandleBufferByType() 1007 UINTN DescriptorSize; in GetFmpImageInfoDescriptorVer() local [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/Common/ |
D | RuntimeService.c | 397 IN UINTN DescriptorSize, in EfiSetVirtualAddressMap() argument 404 DescriptorSize, in EfiSetVirtualAddressMap()
|