Home
last modified time | relevance | path

Searched refs:mMapDepth (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Mem/
DPage.c43 UINTN mMapDepth = 0; variable
249 mMapStack[mMapDepth].Signature = MEMORY_MAP_SIGNATURE; in CoreAddRange()
250 mMapStack[mMapDepth].FromPages = FALSE; in CoreAddRange()
251 mMapStack[mMapDepth].Type = Type; in CoreAddRange()
252 mMapStack[mMapDepth].Start = Start; in CoreAddRange()
253 mMapStack[mMapDepth].End = End; in CoreAddRange()
254 mMapStack[mMapDepth].VirtualStart = 0; in CoreAddRange()
255 mMapStack[mMapDepth].Attribute = Attribute; in CoreAddRange()
256 InsertTailList (&gMemoryMap, &mMapStack[mMapDepth].Link); in CoreAddRange()
258 mMapDepth += 1; in CoreAddRange()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DPage.c46 UINTN mMapDepth = 0; variable
167 while (mMapDepth != 0) { in CoreFreeMemoryMapStack()
177 mMapDepth -= 1; in CoreFreeMemoryMapStack()
179 if (mMapStack[mMapDepth].Link.ForwardLink != NULL) { in CoreFreeMemoryMapStack()
181 CopyMem (Entry , &mMapStack[mMapDepth], sizeof (MEMORY_MAP)); in CoreFreeMemoryMapStack()
187 InsertTailList (&mMapStack[mMapDepth].Link, &Entry->Link); in CoreFreeMemoryMapStack()
188 RemoveEntryList (&mMapStack[mMapDepth].Link); in CoreFreeMemoryMapStack()
189 mMapStack[mMapDepth].Link.ForwardLink = NULL; in CoreFreeMemoryMapStack()
218 Entry = &mMapStack[mMapDepth]; in InsertNewEntry()
219 mMapDepth += 1; in InsertNewEntry()
[all …]