Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsuleRuntimeDxe/X64/
DSaveLongModeContext.c121 EFI_CAPSULE_LONG_MODE_BUFFER LongModeBuffer; in PrepareContextForCapsulePei() local
165LongModeBuffer.PageTableAddress = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocateReservedMemoryBelow4G (EFI_… in PrepareContextForCapsulePei()
166 ASSERT (LongModeBuffer.PageTableAddress != 0); in PrepareContextForCapsulePei()
171 LongModeBuffer.StackSize = PcdGet32 (PcdCapsulePeiLongModeStackSize); in PrepareContextForCapsulePei()
172LongModeBuffer.StackBaseAddress = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocateReservedMemoryBelow4G (PcdG… in PrepareContextForCapsulePei()
173 ASSERT (LongModeBuffer.StackBaseAddress != 0); in PrepareContextForCapsulePei()
180 &LongModeBuffer in PrepareContextForCapsulePei()
196 … gBS->FreePages (LongModeBuffer.StackBaseAddress, EFI_SIZE_TO_PAGES (LongModeBuffer.StackSize)); in PrepareContextForCapsulePei()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/
DUefiCapsule.c375 IN EFI_CAPSULE_LONG_MODE_BUFFER *LongModeBuffer, in ModeSwitch() argument
406 if (LongModeBuffer->StackBaseAddress < LongModeBuffer->PageTableAddress) { in ModeSwitch()
407 ReservedRangeBase = LongModeBuffer->StackBaseAddress; in ModeSwitch()
408 ReservedRangeEnd = LongModeBuffer->PageTableAddress + CalculatePageTableSize (Page1GSupport); in ModeSwitch()
410 ReservedRangeBase = LongModeBuffer->PageTableAddress; in ModeSwitch()
411 ReservedRangeEnd = LongModeBuffer->StackBaseAddress + LongModeBuffer->StackSize; in ModeSwitch()
438 Context.StackBufferBase = LongModeBuffer->StackBaseAddress; in ModeSwitch()
439 Context.StackBufferLength = LongModeBuffer->StackSize; in ModeSwitch()
462 Status = Thunk32To64 (LongModeBuffer->PageTableAddress, &Context, &ReturnContext); in ModeSwitch()
543 OUT EFI_CAPSULE_LONG_MODE_BUFFER *LongModeBuffer in GetLongModeContext() argument
[all …]