/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/ |
MemoryAttributesTable.c | 38 MemoryMap buffer. On input, this is the size of
44 @param MemoryMap A pointer to the buffer in which firmware places
55 @retval EFI_SUCCESS The memory map was returned in the MemoryMap
57 @retval EFI_BUFFER_TOO_SMALL The MemoryMap buffer was too small. The current
67 IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap,
87 EFI_MEMORY_DESCRIPTOR *MemoryMap;
100 // Directly return after MemoryMap terminated.
122 MemoryMap = NULL;
125 MemoryMap,
133 MemoryMap = AllocatePool (MemoryMapSize); [all...] |
PropertiesTable.c | 86 // Below functions are for MemoryMap
155 @param MemoryMap A pointer to the buffer in which firmware places
157 @param MemoryMapSize Size, in bytes, of the MemoryMap buffer.
163 IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap,
173 MemoryMapEntry = MemoryMap;
175 MemoryMapEnd = (EFI_MEMORY_DESCRIPTOR *) ((UINT8 *) MemoryMap + MemoryMapSize);
197 @param MemoryMap A pointer to the buffer in which firmware places
200 MemoryMap buffer. On input, this is the size of
208 IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap,
219 MemoryMapEntry = MemoryMap;
[all...] |
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/ |
MrcWrapper.c | 549 PEI_DUAL_CHANNEL_DDR_MEMORY_MAP_RANGE MemoryMap[MAX_RANGES];
588 ZeroMem (MemoryMap, sizeof (PEI_DUAL_CHANNEL_DDR_MEMORY_MAP_RANGE) * NumRanges);
593 (PEI_DUAL_CHANNEL_DDR_MEMORY_MAP_RANGE *) MemoryMap,
633 DEBUG ((EFI_D_INFO, "Found 0x%x bytes at ", MemoryMap[Index].RangeLength));
634 DEBUG ((EFI_D_INFO, "0x%x.\n", MemoryMap[Index].PhysicalAddress));
640 if (MOR_CLEAR_MEMORY_VALUE (MorControl) && MemoryMap[Index].Type == DualChannelDdrMainMemory) {
642 if ((UINTN)MemoryMap[Index].RangeLength > 0) {
643 if ((UINTN)MemoryMap[Index].PhysicalAddress == 0) {
649 ZeroMem ((VOID *)1, (UINTN)MemoryMap[Index].RangeLength - 1);
652 (VOID *)(UINTN)MemoryMap[Index].PhysicalAddress, [all...] |
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
SmmCpuMemoryManagement.c | 767 EFI_MEMORY_DESCRIPTOR *MemoryMap;
788 MemoryMap = MemoryMapStart;
790 DEBUG ((DEBUG_INFO, "Entry (0x%x)\n", MemoryMap));
791 DEBUG ((DEBUG_INFO, " Type - 0x%x\n", MemoryMap->Type));
792 DEBUG ((DEBUG_INFO, " PhysicalStart - 0x%016lx\n", MemoryMap->PhysicalStart));
793 DEBUG ((DEBUG_INFO, " VirtualStart - 0x%016lx\n", MemoryMap->VirtualStart));
794 DEBUG ((DEBUG_INFO, " NumberOfPages - 0x%016lx\n", MemoryMap->NumberOfPages));
795 DEBUG ((DEBUG_INFO, " Attribute - 0x%016lx\n", MemoryMap->Attribute));
796 MemoryMap = NEXT_MEMORY_DESCRIPTOR(MemoryMap, DescriptorSize); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PropertiesTableAttributesDxe/ |
PropertiesTableAttributesDxe.c | 48 @param MemoryMap A pointer to the buffer in which firmware places the current memory map.
49 @param MemoryMapSize Size, in bytes, of the MemoryMap buffer.
54 IN EFI_MEMORY_DESCRIPTOR *MemoryMap,
65 MemoryMapEntry = MemoryMap;
66 MemoryMapEnd = (EFI_MEMORY_DESCRIPTOR *) ((UINT8 *) MemoryMap + MemoryMapSize);
121 EFI_MEMORY_DESCRIPTOR *MemoryMap;
145 MemoryMap = NULL;
148 MemoryMap,
155 MemoryMap = (EFI_MEMORY_DESCRIPTOR *) AllocatePool (MemoryMapSize);
156 ASSERT (MemoryMap != NULL); [all...] |
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/ |
BdsHelper.c | 24 EFI_MEMORY_DESCRIPTOR *MemoryMap;
30 MemoryMap = NULL;
37 MemoryMap,
45 MemoryMap = AllocatePages (Pages);
48 // Get System MemoryMap
52 MemoryMap,
63 FreePages (MemoryMap, Pages);
64 MemoryMap = NULL;
|
/device/linaro/bootloader/edk2/BeagleBoardPkg/Library/ResetSystemLib/ |
ResetSystemLib.c | 37 EFI_MEMORY_DESCRIPTOR *MemoryMap;
43 MemoryMap = NULL;
48 MemoryMap,
56 MemoryMap = AllocatePages (Pages);
59 // Get System MemoryMap
63 MemoryMap,
72 FreePages (MemoryMap, Pages);
73 MemoryMap = NULL;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
MemoryAttributesTable.c | 75 // Below functions are for MemoryMap
127 EFI_MEMORY_DESCRIPTOR *MemoryMap;
136 MemoryMap = (EFI_MEMORY_DESCRIPTOR *)(MemoryAttributesTable + 1);
139 ASSERT (Address == MemoryMap->PhysicalStart);
141 Address = MemoryMap->PhysicalStart + EfiPagesToSize(MemoryMap->NumberOfPages);
142 MemoryMap = NEXT_MEMORY_DESCRIPTOR(MemoryMap, DescriptorSize);
149 @param[in,out] MemoryMap A pointer to the buffer in which firmware places
151 @param[in] MemoryMapSize Size, in bytes, of the MemoryMap buffer. [all...] |
Page.c | 1037 MemoryMap buffer. On input, this is the size of
1043 @param[in, out] MemoryMap A pointer to the buffer in which firmware places
1054 @retval EFI_SUCCESS The memory map was returned in the MemoryMap
1056 @retval EFI_BUFFER_TOO_SMALL The MemoryMap buffer was too small. The current
1066 IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap,
[all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemLib/ |
SmmMemLib.c | 158 EFI_MEMORY_DESCRIPTOR *MemoryMap;
162 MemoryMap = mMemoryMap;
164 if ((Buffer >= MemoryMap->PhysicalStart) &&
165 (Buffer + Length <= MemoryMap->PhysicalStart + LShiftU64 (MemoryMap->NumberOfPages, EFI_PAGE_SHIFT))) {
168 MemoryMap = NEXT_MEMORY_DESCRIPTOR(MemoryMap, mDescriptorSize);
341 EFI_MEMORY_DESCRIPTOR *MemoryMap;
350 MemoryMap = NULL;
353 MemoryMap,
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Mem/ |
Page.c | 34 // MemoryMap - The current memory map
[all...] |
MemData.c | 24 // MemoryMap - the current memory map
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/LoadLinuxLib/ |
Linux.c | 259 EFI_MEMORY_DESCRIPTOR *MemoryMap;
287 (VOID **) &MemoryMap
292 // Get System MemoryMap
296 MemoryMap,
307 MemoryMapPtr = MemoryMap;
311 if (MemoryMap->NumberOfPages == 0) {
315 switch(MemoryMap->Type) {
349 MemoryMap->Type
356 (MemoryMap->PhysicalStart == LastEndAddr)) {
357 LastE820->size += EFI_PAGES_TO_SIZE ((UINTN) MemoryMap->NumberOfPages); [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D02/FdtUpdateLibD02/ |
FdtUpdateLib.c | 160 EFI_MEMORY_DESCRIPTOR *MemoryMap;
195 MemoryMap = NULL;
199 Status = gBS->GetMemoryMap (&MemoryMapSize, MemoryMap, &MapKey, &DescriptorSize, &DescriptorVersion);
202 // The UEFI specification advises to allocate more memory for the MemoryMap buffer between successive
206 MemoryMap = AllocatePages (Pages0);
207 if (MemoryMap == NULL)
212 Status = gBS->GetMemoryMap (&MemoryMapSize, MemoryMap, &MapKey, &DescriptorSize, &DescriptorVersion);
215 if(MemoryMap == NULL)
233 MemoryMapPtr = MemoryMap;
272 FreePages (MemoryMap, Pages0); [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D03/Library/FdtUpdateLib/ |
FdtUpdateLib.c | 290 EFI_MEMORY_DESCRIPTOR *MemoryMap;
311 MemoryMap = NULL;
315 Status = gBS->GetMemoryMap (&MemoryMapSize, MemoryMap, &MapKey, &DescriptorSize, &DescriptorVersion);
318 // The UEFI specification advises to allocate more memory for the MemoryMap buffer between successive
321 MemoryMap = AllocatePages (Pages0);
322 if (MemoryMap == NULL)
327 Status = gBS->GetMemoryMap (&MemoryMapSize, MemoryMap, &MapKey, &DescriptorSize, &DescriptorVersion);
332 FreePages (MemoryMap, Pages0);
349 FreePages (MemoryMap, Pages0);
354 MemoryMapPtr = MemoryMap;
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/ |
Fvb.c | 72 EFI_MEMORY_DESCRIPTOR *MemoryMap;
98 (VOID**)&MemoryMap
103 // Get System MemoryMap
107 MemoryMap,
114 MemoryMapPtr = MemoryMap;
119 if (((EFI_PHYSICAL_ADDRESS)(UINTN)Address >= MemoryMap->PhysicalStart) &&
120 ((EFI_PHYSICAL_ADDRESS)(UINTN)Address < MemoryMap->PhysicalStart
121 + LShiftU64 (MemoryMap->NumberOfPages, EFI_PAGE_SHIFT))) {
125 if (MemoryMap->Attribute & EFI_MEMORY_RUNTIME) {
133 MemoryMap = (EFI_MEMORY_DESCRIPTOR *)((UINTN)MemoryMap + DescriptorSize); [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/X64/ |
Fvb.c | 72 EFI_MEMORY_DESCRIPTOR *MemoryMap;
98 (VOID**)&MemoryMap
103 // Get System MemoryMap
107 MemoryMap,
114 MemoryMapPtr = MemoryMap;
119 if (((EFI_PHYSICAL_ADDRESS)(UINTN)Address >= MemoryMap->PhysicalStart) &&
120 ((EFI_PHYSICAL_ADDRESS)(UINTN)Address < MemoryMap->PhysicalStart
121 + LShiftU64 (MemoryMap->NumberOfPages, EFI_PAGE_SHIFT))) {
125 if (MemoryMap->Attribute & EFI_MEMORY_RUNTIME) {
133 MemoryMap = (EFI_MEMORY_DESCRIPTOR *)((UINTN)MemoryMap + DescriptorSize); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/RamDiskDxe/ |
RamDiskProtocol.c | 141 EFI_MEMORY_DESCRIPTOR *MemoryMap;
165 MemoryMap = NULL;
170 MemoryMap,
177 MemoryMap = (EFI_MEMORY_DESCRIPTOR *) AllocatePool (MemoryMapSize);
178 ASSERT (MemoryMap != NULL);
181 MemoryMap,
187 FreePool (MemoryMap);
192 MemoryMapEntry = MemoryMap;
193 MemoryMapEnd = (EFI_MEMORY_DESCRIPTOR *) ((UINT8 *) MemoryMap + MemoryMapSize);
209 FreePool (MemoryMap);
[all...] |
/external/google-breakpad/src/google_breakpad/processor/ |
source_line_resolver_base.h | 111 typedef std::map<string, char*, CompareString> MemoryMap; 112 MemoryMap *memory_buffers_;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/ |
WebServer.inf | 42 MemoryMap.c
|
PageList.c | 46 { L"/MemoryMap", MemoryMapPage, L"Memory Map" }, ///< Memory list
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSecLibRTSM/AArch64/ |
GicV3.S | 61 // The MemoryMap view and Register view may not be consistent, So Set PMR again.
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/FdtDxe/ |
BdsLinuxFdt.c | 389 EFI_MEMORY_DESCRIPTOR *MemoryMap;
509 MemoryMap = NULL;
511 Status = gBS->GetMemoryMap (&MemoryMapSize, MemoryMap, &MapKey, &DescriptorSize, &DescriptorVersion);
513 // The UEFI specification advises to allocate more memory for the MemoryMap buffer between successive
516 MemoryMap = AllocatePages (Pages);
517 if (MemoryMap == NULL) {
521 Status = gBS->GetMemoryMap (&MemoryMapSize, MemoryMap, &MapKey, &DescriptorSize, &DescriptorVersion);
526 MemoryMapPtr = MemoryMap;
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
Command.c | 326 EFI_MEMORY_DESCRIPTOR *MemoryMap;
340 MemoryMap = NULL;
345 MemoryMap,
353 MemoryMap = AllocatePages (Pages);
356 // Get System MemoryMap
360 MemoryMap,
369 FreePages (MemoryMap, Pages);
370 MemoryMap = NULL;
|
/external/google-breakpad/src/processor/ |
source_line_resolver_base.cc | 57 memory_buffers_(new MemoryMap), 76 MemoryMap::iterator iter = memory_buffers_->begin(); 278 MemoryMap::iterator iter = memory_buffers_->find(code_module->code_file());
|