Home
last modified time | relevance | path

Searched refs:EFI_MEMORY_DESCRIPTOR (Results 1 – 25 of 54) sorted by relevance

123

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DMemMap.c69 EFI_MEMORY_DESCRIPTOR *Buffer; in ShellCommandRunMemMap()
175 switch (((EFI_MEMORY_DESCRIPTOR*)Walker)->Type) { in ShellCommandRunMemMap()
177EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart, ((EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart+Mul… in ShellCommandRunMemMap()
178 ReservedPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
181EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart, ((EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart+Mul… in ShellCommandRunMemMap()
182 LoadCodePages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
183 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
186EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart, ((EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart+Mul… in ShellCommandRunMemMap()
187 LoadDataPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
188 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DSmmCpuMemoryManagement.c17 ((EFI_MEMORY_DESCRIPTOR *)((UINT8 *)(MemoryDescriptor) + (Size)))
20 ((EFI_MEMORY_DESCRIPTOR *)((UINT8 *)(MemoryDescriptor) - (Size)))
22 EFI_MEMORY_DESCRIPTOR *mUefiMemoryMap;
767 EFI_MEMORY_DESCRIPTOR *MemoryMap; in SetMemMapAttributes()
768 EFI_MEMORY_DESCRIPTOR *MemoryMapStart; in SetMemMapAttributes()
787 MemoryMapStart = (EFI_MEMORY_DESCRIPTOR *)(MemoryAttributesTable + 1); in SetMemMapAttributes()
845 IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap, in SortMemoryMap()
850 EFI_MEMORY_DESCRIPTOR *MemoryMapEntry; in SortMemoryMap()
851 EFI_MEMORY_DESCRIPTOR *NextMemoryMapEntry; in SortMemoryMap()
852 EFI_MEMORY_DESCRIPTOR *MemoryMapEnd; in SortMemoryMap()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/
DPropertiesTable.c37 ((EFI_MEMORY_DESCRIPTOR *)((UINT8 *)(MemoryDescriptor) - (Size)))
163 IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap, in SortMemoryMap()
168 EFI_MEMORY_DESCRIPTOR *MemoryMapEntry; in SortMemoryMap()
169 EFI_MEMORY_DESCRIPTOR *NextMemoryMapEntry; in SortMemoryMap()
170 EFI_MEMORY_DESCRIPTOR *MemoryMapEnd; in SortMemoryMap()
171 EFI_MEMORY_DESCRIPTOR TempMemoryMap; in SortMemoryMap()
175 MemoryMapEnd = (EFI_MEMORY_DESCRIPTOR *) ((UINT8 *) MemoryMap + MemoryMapSize); in SortMemoryMap()
179 CopyMem (&TempMemoryMap, MemoryMapEntry, sizeof(EFI_MEMORY_DESCRIPTOR)); in SortMemoryMap()
180 CopyMem (MemoryMapEntry, NextMemoryMapEntry, sizeof(EFI_MEMORY_DESCRIPTOR)); in SortMemoryMap()
181 CopyMem (NextMemoryMapEntry, &TempMemoryMap, sizeof(EFI_MEMORY_DESCRIPTOR)); in SortMemoryMap()
[all …]
DMemoryAttributesTable.c67 IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap,
87 EFI_MEMORY_DESCRIPTOR *MemoryMap; in InstallMemoryAttributesTable()
88 EFI_MEMORY_DESCRIPTOR *MemoryMapStart; in InstallMemoryAttributesTable()
96 EFI_MEMORY_DESCRIPTOR *MemoryAttributesEntry; in InstallMemoryAttributesTable()
173 MemoryAttributesEntry = (EFI_MEMORY_DESCRIPTOR *)(MemoryAttributesTable + 1); in InstallMemoryAttributesTable()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DMemoryAttributesTable.c32 ((EFI_MEMORY_DESCRIPTOR *)((UINT8 *)(MemoryDescriptor) - (Size)))
127 EFI_MEMORY_DESCRIPTOR *MemoryMap; in SmmMemoryAttributesTableConsistencyCheck()
136 MemoryMap = (EFI_MEMORY_DESCRIPTOR *)(MemoryAttributesTable + 1); in SmmMemoryAttributesTableConsistencyCheck()
157 IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap, in SortMemoryMap()
162 EFI_MEMORY_DESCRIPTOR *MemoryMapEntry; in SortMemoryMap()
163 EFI_MEMORY_DESCRIPTOR *NextMemoryMapEntry; in SortMemoryMap()
164 EFI_MEMORY_DESCRIPTOR *MemoryMapEnd; in SortMemoryMap()
165 EFI_MEMORY_DESCRIPTOR TempMemoryMap; in SortMemoryMap()
169 MemoryMapEnd = (EFI_MEMORY_DESCRIPTOR *) ((UINT8 *) MemoryMap + MemoryMapSize); in SortMemoryMap()
173 CopyMem (&TempMemoryMap, MemoryMapEntry, sizeof(EFI_MEMORY_DESCRIPTOR)); in SortMemoryMap()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PropertiesTableAttributesDxe/
DPropertiesTableAttributesDxe.c54 IN EFI_MEMORY_DESCRIPTOR *MemoryMap, in SetMemorySpaceAttributesDefault()
59 EFI_MEMORY_DESCRIPTOR *MemoryMapEntry; in SetMemorySpaceAttributesDefault()
60 EFI_MEMORY_DESCRIPTOR *MemoryMapEnd; in SetMemorySpaceAttributesDefault()
66 MemoryMapEnd = (EFI_MEMORY_DESCRIPTOR *) ((UINT8 *) MemoryMap + MemoryMapSize); in SetMemorySpaceAttributesDefault()
121 EFI_MEMORY_DESCRIPTOR *MemoryMap; in UpdateMemoryAttributesDefault()
155 MemoryMap = (EFI_MEMORY_DESCRIPTOR *) AllocatePool (MemoryMapSize); in UpdateMemoryAttributesDefault()
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DSupport.h27 EFI_MEMORY_DESCRIPTOR *Desc,
38 IN EFI_MEMORY_DESCRIPTOR *EfiMemoryDescriptor,
46 EFI_MEMORY_DESCRIPTOR *EfiMemoryDescriptor,
DSupport.c25 EFI_MEMORY_DESCRIPTOR *Desc, in EfiAddMemoryDescriptor()
94 IN EFI_MEMORY_DESCRIPTOR *EfiMemoryDescriptor, in FindSpace()
102 EFI_MEMORY_DESCRIPTOR *CurrentMemoryDescriptor; in FindSpace()
154 EFI_MEMORY_DESCRIPTOR *EfiMemoryDescriptor, in GenMemoryMap()
DPeLoader.h38 IN EFI_MEMORY_DESCRIPTOR *EfiMemoryDescriptor
DEfiLdrHandoff.h32 EFI_MEMORY_DESCRIPTOR *MemDesc;
/device/linaro/bootloader/edk2/MdeModulePkg/Core/RuntimeDxe/
DRuntime.c54 EFI_MEMORY_DESCRIPTOR *mVirtualMap = NULL;
76 …sizeof (EFI_MEMORY_DESCRIPTOR) + sizeof (UINT64) - (sizeof (EFI_MEMORY_DESCRIPTOR) % sizeof (UINT6…
137 EFI_MEMORY_DESCRIPTOR *VirtEntry; in RuntimeDriverConvertPointer()
242 IN EFI_MEMORY_DESCRIPTOR *VirtualMap in RuntimeDriverSetVirtualAddressMap()
261 …iptorVersion != EFI_MEMORY_DESCRIPTOR_VERSION || DescriptorSize < sizeof (EFI_MEMORY_DESCRIPTOR)) { in RuntimeDriverSetVirtualAddressMap()
DRuntime.h103 IN EFI_MEMORY_DESCRIPTOR *VirtualMap
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SmmCommunicationBufferDxe/
DSmmCommunicationBufferDxe.c53 EFI_MEMORY_DESCRIPTOR *Entry; in SmmCommunicationBufferEntryPoint()
55 DescriptorSize = sizeof(EFI_MEMORY_DESCRIPTOR); in SmmCommunicationBufferEntryPoint()
73 Entry = (EFI_MEMORY_DESCRIPTOR *)(PiSmmCommunicationRegionTable + 1); in SmmCommunicationBufferEntryPoint()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/Runtime/
DRuntime.h75 EFI_MEMORY_DESCRIPTOR *MemoryMapPhysical;
76 EFI_MEMORY_DESCRIPTOR *MemoryMapVirtual;
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DRuntime.h119EFI_MEMORY_DESCRIPTOR *MemoryMapPhysical; ///< Pointer to a runtime buffer that contains a c…
121EFI_MEMORY_DESCRIPTOR *MemoryMapVirtual; ///< Pointer to MemoryMapPhysical that is updated …
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemLib/
DSmmMemLib.c35 ((EFI_MEMORY_DESCRIPTOR *)((UINT8 *)(MemoryDescriptor) + (Size)))
46 EFI_MEMORY_DESCRIPTOR *mMemoryMap;
158 EFI_MEMORY_DESCRIPTOR *MemoryMap; in SmmIsBufferOutsideSmmValid()
341 EFI_MEMORY_DESCRIPTOR *MemoryMap; in SmmLibInternalEndOfDxeNotify()
342 EFI_MEMORY_DESCRIPTOR *MemoryMapStart; in SmmLibInternalEndOfDxeNotify()
343 EFI_MEMORY_DESCRIPTOR *SmmMemoryMapStart; in SmmLibInternalEndOfDxeNotify()
/device/linaro/bootloader/edk2/DuetPkg/DxeIpl/
DHobGeneration.c591 IN EFI_MEMORY_DESCRIPTOR *EfiMemoryDescriptor in PrepareHobMemory()
705 EFI_MEMORY_DESCRIPTOR *MemDesc in PrepareHobMemoryDescriptor()
709 …yDescriptor.MemDesc = (EFI_MEMORY_DESCRIPTOR *)((UINTN)MemoryDescriptorTop - MemDescCount * s… in PrepareHobMemoryDescriptor()
713 …gHob->MemoryDescriptor.MemDesc = (EFI_MEMORY_DESCRIPTOR *)((UINTN) gHob->MemoryDescriptor.Mem… in PrepareHobMemoryDescriptor()
715 CopyMem (gHob->MemoryDescriptor.MemDesc, MemDesc, MemDescCount * sizeof(EFI_MEMORY_DESCRIPTOR)); in PrepareHobMemoryDescriptor()
DHobGeneration.h127 IN EFI_MEMORY_DESCRIPTOR *EfiMemoryDescriptor
147 EFI_MEMORY_DESCRIPTOR *MemDesc
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/X64/
DFvb.c72 EFI_MEMORY_DESCRIPTOR *MemoryMap; in IsMemoryRuntime()
73 EFI_MEMORY_DESCRIPTOR *MemoryMapPtr; in IsMemoryRuntime()
85 (EFI_MEMORY_DESCRIPTOR *)TmpMemoryMap, in IsMemoryRuntime()
133 MemoryMap = (EFI_MEMORY_DESCRIPTOR *)((UINTN)MemoryMap + DescriptorSize); in IsMemoryRuntime()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/
DFvb.c72 EFI_MEMORY_DESCRIPTOR *MemoryMap; in IsMemoryRuntime()
73 EFI_MEMORY_DESCRIPTOR *MemoryMapPtr; in IsMemoryRuntime()
85 (EFI_MEMORY_DESCRIPTOR *)TmpMemoryMap, in IsMemoryRuntime()
133 MemoryMap = (EFI_MEMORY_DESCRIPTOR *)((UINTN)MemoryMap + DescriptorSize); in IsMemoryRuntime()
/device/linaro/bootloader/edk2/DuetPkg/Include/Guid/
DLdrMemoryDescriptor.h26 EFI_MEMORY_DESCRIPTOR *MemDesc;
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D02/FdtUpdateLibD02/
DFdtUpdateLib.c160 EFI_MEMORY_DESCRIPTOR *MemoryMap; in UpdateMemoryNode()
161 EFI_MEMORY_DESCRIPTOR *MemoryMapPtr; in UpdateMemoryNode()
162 EFI_MEMORY_DESCRIPTOR *MemoryMapPtrCurrent; in UpdateMemoryNode()
240 … MemoryMapPtrCurrent = (EFI_MEMORY_DESCRIPTOR*)((UINTN)MemoryMapPtr + Index*DescriptorSize); in UpdateMemoryNode()
/device/linaro/bootloader/edk2/MdeModulePkg/Application/VariableInfo/
DVariableInfo.c92 EFI_MEMORY_DESCRIPTOR *Entry; in PrintInfoFromSmm()
116 Entry = (EFI_MEMORY_DESCRIPTOR *) (PiSmmCommunicationRegionTable + 1); in PrintInfoFromSmm()
130 …Entry = (EFI_MEMORY_DESCRIPTOR *) ((UINT8 *) Entry + PiSmmCommunicationRegionTable->DescriptorSize… in PrintInfoFromSmm()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeSmmPerformanceLib/
DDxeSmmPerformanceLib.c396 EFI_MEMORY_DESCRIPTOR *Entry; in GetAllSmmGaugeData()
438 Entry = (EFI_MEMORY_DESCRIPTOR *) (PiSmmCommunicationRegionTable + 1); in GetAllSmmGaugeData()
447 …Entry = (EFI_MEMORY_DESCRIPTOR *) ((UINT8 *) Entry + PiSmmCommunicationRegionTable->DescriptorSize… in GetAllSmmGaugeData()
536 EFI_MEMORY_DESCRIPTOR *Entry; in GetAllSmmGaugeDataEx()
578 Entry = (EFI_MEMORY_DESCRIPTOR *) (PiSmmCommunicationRegionTable + 1); in GetAllSmmGaugeDataEx()
587 …Entry = (EFI_MEMORY_DESCRIPTOR *) ((UINT8 *) Entry + PiSmmCommunicationRegionTable->DescriptorSize… in GetAllSmmGaugeDataEx()
/device/linaro/bootloader/edk2/DuetPkg/Include/
DEfiLdrHandoff.h35 EFI_MEMORY_DESCRIPTOR *MemDesc;

123