Home
last modified time | relevance | path

Searched refs:PeiStackSize (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/
DSecTempRamSupport.c72 UINTN PeiStackSize; in SecTemporaryRamSupport() local
74 PeiStackSize = (UINTN)PcdGet32 (PcdPeiTemporaryRamStackSize); in SecTemporaryRamSupport()
75 if (PeiStackSize == 0) { in SecTemporaryRamSupport()
76 PeiStackSize = (CopySize >> 1); in SecTemporaryRamSupport()
79 ASSERT (PeiStackSize < CopySize); in SecTemporaryRamSupport()
96 NewHeap = (VOID*)((UINTN)PermanentMemoryBase + PeiStackSize); in SecTemporaryRamSupport()
98 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + CopySize - PeiStackSize); in SecTemporaryRamSupport()
115 CopyMem (NewHeap, OldHeap, CopySize - PeiStackSize); in SecTemporaryRamSupport()
120 CopyMem (NewStack, OldStack, PeiStackSize); in SecTemporaryRamSupport()
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/
DSecTempRamSupport.c72 UINTN PeiStackSize; in SecTemporaryRamSupport() local
74 PeiStackSize = (UINTN)PcdGet32 (PcdPeiTemporaryRamStackSize); in SecTemporaryRamSupport()
75 if (PeiStackSize == 0) { in SecTemporaryRamSupport()
76 PeiStackSize = (CopySize >> 1); in SecTemporaryRamSupport()
79 ASSERT (PeiStackSize < CopySize); in SecTemporaryRamSupport()
96 NewHeap = (VOID*)((UINTN)PermanentMemoryBase + PeiStackSize); in SecTemporaryRamSupport()
98 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + CopySize - PeiStackSize); in SecTemporaryRamSupport()
114 CopyMem (NewHeap, OldHeap, CopySize - PeiStackSize); in SecTemporaryRamSupport()
119 CopyMem (NewStack, OldStack, PeiStackSize); in SecTemporaryRamSupport()
/device/linaro/bootloader/edk2/CorebootModulePkg/SecCore/
DSecMain.c75 UINT32 PeiStackSize; in SecStartup() local
77 PeiStackSize = (SizeOfRam >> 1); in SecStartup()
79 ASSERT (PeiStackSize < SizeOfRam); in SecStartup()
127 SecCoreData.PeiTemporaryRamSize = SizeOfRam - PeiStackSize; in SecStartup()
129 SecCoreData.StackSize = PeiStackSize; in SecStartup()
212 UINTN PeiStackSize; in SecTemporaryRamSupport() local
214 PeiStackSize = (CopySize >> 1); in SecTemporaryRamSupport()
216 ASSERT (PeiStackSize < CopySize); in SecTemporaryRamSupport()
233 NewHeap = (VOID*)((UINTN)PermanentMemoryBase + PeiStackSize); in SecTemporaryRamSupport()
235 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + CopySize - PeiStackSize); in SecTemporaryRamSupport()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/SecCore/
DSecMain.c80 UINT32 PeiStackSize; in SecStartup() local
91 PeiStackSize = PcdGet32 (PcdPeiTemporaryRamStackSize); in SecStartup()
92 if (PeiStackSize == 0) { in SecStartup()
93 PeiStackSize = (SizeOfRam >> 1); in SecStartup()
96 ASSERT (PeiStackSize < SizeOfRam); in SecStartup()
149 SecCoreData.PeiTemporaryRamSize = SizeOfRam - PeiStackSize; in SecStartup()
151 SecCoreData.StackSize = PeiStackSize; in SecStartup()
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspWrapperSecCore/
DSecMain.c70 UINT32 PeiStackSize; in SecStartup() local
72 PeiStackSize = PcdGet32 (PcdPeiTemporaryRamStackSize); in SecStartup()
73 if (PeiStackSize == 0) { in SecStartup()
74 PeiStackSize = (SizeOfRam >> 1); in SecStartup()
77 ASSERT (PeiStackSize < SizeOfRam); in SecStartup()
127 SecCoreData.PeiTemporaryRamSize = SizeOfRam - PeiStackSize; in SecStartup()
129 SecCoreData.StackSize = PeiStackSize; in SecStartup()
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspInitPei/
DSecMain.c79 UINT32 PeiStackSize; in SecStartup() local
81 PeiStackSize = PcdGet32 (PcdPeiTemporaryRamStackSize); in SecStartup()
82 if (PeiStackSize == 0) { in SecStartup()
83 PeiStackSize = (SizeOfRam >> 1); in SecStartup()
86 ASSERT (PeiStackSize < SizeOfRam); in SecStartup()
136 SecCoreData.PeiTemporaryRamSize = SizeOfRam - PeiStackSize; in SecStartup()
138 SecCoreData.StackSize = PeiStackSize; in SecStartup()
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DHost.c548 UINTN PeiStackSize; in SecLoadFromCore() local
554 PeiStackSize = (UINTN)RShiftU64((UINT64)STACK_SIZE,1); in SecLoadFromCore()
565 TopOfStack = (VOID *)(LargestRegion + PeiStackSize); in SecLoadFromCore()
566 TopOfMemory = LargestRegion + PeiStackSize; in SecLoadFromCore()
585 SecCoreData->StackSize = PeiStackSize; in SecLoadFromCore()
586 …cCoreData->PeiTemporaryRamBase = (VOID*) ((UINTN) SecCoreData->TemporaryRamBase + PeiStackSize); in SecLoadFromCore()
587 SecCoreData->PeiTemporaryRamSize = STACK_SIZE - PeiStackSize; in SecLoadFromCore()
/device/linaro/bootloader/edk2/Nt32Pkg/Sec/
DSecMain.c625 UINTN PeiStackSize; in SecLoadFromCore() local
630 PeiStackSize = (UINTN)RShiftU64((UINT64)STACK_SIZE,1); in SecLoadFromCore()
641 TopOfStack = (VOID *)(LargestRegion + PeiStackSize); in SecLoadFromCore()
659 SecCoreData->StackSize = PeiStackSize; in SecLoadFromCore()
660 …cCoreData->PeiTemporaryRamBase = (VOID*) ((UINTN) SecCoreData->TemporaryRamBase + PeiStackSize); in SecLoadFromCore()
661 SecCoreData->PeiTemporaryRamSize = STACK_SIZE - PeiStackSize; in SecLoadFromCore()