Home
last modified time | relevance | path

Searched refs:StackSize (Results 1 – 25 of 72) sorted by relevance

123

/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspInitPei/
DFspInitPeiV1.c35 UINT64 StackSize; in ContinuationFunc() local
50 GetStackInfo (BootMode, TRUE, &StackSize, &StackBase); in ContinuationFunc()
52 DEBUG ((DEBUG_INFO, "StackSize - 0x%x\n", StackSize)); in ContinuationFunc()
56 (VOID *)(UINTN)(StackBase + StackSize) in ContinuationFunc()
75 UINT64 StackSize; in PeiFspInit() local
84 GetStackInfo (BootMode, FALSE, &StackSize, &StackBase); in PeiFspInit()
86 DEBUG ((DEBUG_INFO, "StackSize - 0x%x\n", StackSize)); in PeiFspInit()
89 FspRtBuffer.StackTop = (UINT32 *)(UINTN)(StackBase + StackSize); in PeiFspInit()
DFspInitPeiV2.c140 UINT64 StackSize; in PeiFspMemoryInit() local
151 GetStackInfo (BootMode, FALSE, &StackSize, &StackBase); in PeiFspMemoryInit()
153 DEBUG ((DEBUG_INFO, "StackSize - 0x%x\n", StackSize)); in PeiFspMemoryInit()
156 FspRtBuffer.StackTop = (UINT32 *)(UINTN)(StackBase + StackSize); in PeiFspMemoryInit()
/device/generic/opengl-transport/host/libs/virglrenderer/
DProtocolUtils.h109 template <size_t StackSize = 1024, size_t Align = 8>
119 if (size <= StackSize) {
143 char __attribute__((__aligned__(Align))) mArray[StackSize];
146 template <size_t StackSize = 1024, size_t Align = 8>
157 if (size <= StackSize) {
188 unsigned char __attribute__((__aligned__(Align))) mArray[StackSize];
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/X64/
DVirtualMemory.c62 IN UINTN StackSize in Split2MPageTo4K() argument
84 if ((PhysicalAddress4K >= StackBase) && (PhysicalAddress4K < StackBase + StackSize)) { in Split2MPageTo4K()
107 IN UINTN StackSize in Split1GPageTo2M() argument
123 … if ((PhysicalAddress2M < StackBase + StackSize) && ((PhysicalAddress2M + SIZE_2MB) > StackBase)) { in Split1GPageTo2M()
127 Split2MPageTo4K (PhysicalAddress2M, (UINT64 *) PageDirectoryEntry, StackBase, StackSize); in Split1GPageTo2M()
153 IN UINTN StackSize in CreateIdentityMappingPageTables() argument
259 …if (PcdGetBool (PcdSetNxForStack) && (PageAddress < StackBase + StackSize) && ((PageAddress + SIZE… in CreateIdentityMappingPageTables()
260 Split1GPageTo2M (PageAddress, (UINT64 *) PageDirectory1GEntry, StackBase, StackSize); in CreateIdentityMappingPageTables()
288 …if (PcdGetBool (PcdSetNxForStack) && (PageAddress < StackBase + StackSize) && ((PageAddress + SIZE… in CreateIdentityMappingPageTables()
292 Split2MPageTo4K (PageAddress, (UINT64 *) PageDirectoryEntry, StackBase, StackSize); in CreateIdentityMappingPageTables()
DVirtualMemory.h174 IN UINTN StackSize
190 IN UINTN StackSize
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/
DPrePiLib.c101 IN UINTN StackSize in LoadDxeCoreFromFfsFile() argument
135 if (StackSize == 0) { in LoadDxeCoreFromFfsFile()
144 BaseOfStack = AllocatePages (EFI_SIZE_TO_PAGES (StackSize)); in LoadDxeCoreFromFfsFile()
151 …TopOfStack = (VOID *) ((UINTN) BaseOfStack + EFI_SIZE_TO_PAGES (StackSize) * EFI_PAGE_SIZE - CPU_S… in LoadDxeCoreFromFfsFile()
157 UpdateStackHob ((EFI_PHYSICAL_ADDRESS)(UINTN) BaseOfStack, StackSize); in LoadDxeCoreFromFfsFile()
181 IN UINTN StackSize in LoadDxeCoreFromFv() argument
201 return LoadDxeCoreFromFfsFile (FileHandle, StackSize); in LoadDxeCoreFromFv()
/device/linaro/bootloader/edk2/IntelFsp2Pkg/FspSecCore/
DSecMain.c123 …SecCoreData.StackSize = SecCoreData.TemporaryRamSize - SecCoreData.PeiTemporaryRamSiz… in SecStartup()
132 DEBUG ((DEBUG_INFO, "Fsp StackSize - 0x%x\n", SecCoreData.StackSize)); in SecStartup()
176 UINTN StackSize; in SecTemporaryRamSupport() local
179 StackSize = CopySize - HeapSize; in SecTemporaryRamSupport()
182 NewHeap = (VOID*)((UINTN)PermanentMemoryBase + StackSize); in SecTemporaryRamSupport()
195 CopyMem (NewStack, OldStack, StackSize); in SecTemporaryRamSupport()
/device/linaro/bootloader/edk2/EmbeddedPkg/TemplateSec/
DTemplateSec.c35 UINTN StackSize in CEntryPoint() argument
51 MemoryLength = (UINT64)StackSize; in CEntryPoint()
54 …DEBUG ((DEBUG_ERROR, "CEntryPoint (%x,%x,%x,%x)\n", MemoryBase, MemorySize, StackBase, StackSize)); in CEntryPoint()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/
DThunk.c63 IN UINTN StackSize in BiosIntCall() argument
97 EfiIaEntryPoint (IntTypeVariable, &DwordRegs, ((UINTN) Stack + StackSize), StackSize); in BiosIntCall()
430 IN UINTN StackSize in LegacyBiosFarCall86() argument
466 if (Stack != NULL && StackSize != 0) { in LegacyBiosFarCall86()
470 Stack16 -= StackSize / sizeof (UINT16); in LegacyBiosFarCall86()
471 CopyMem (Stack16, Stack, StackSize); in LegacyBiosFarCall86()
541 if (Stack != NULL && StackSize != 0) { in LegacyBiosFarCall86()
545 CopyMem (Stack, Stack16, StackSize); in LegacyBiosFarCall86()
546 Stack16 += StackSize / sizeof (UINT16); in LegacyBiosFarCall86()
DIpfThunk.h99 UINT64 StackSize
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
DThunk.c113 IN UINTN StackSize in LegacyBiosFarCall86() argument
126 return InternalLegacyBiosFarCall (This, Segment, Offset, Regs, Stack, StackSize); in LegacyBiosFarCall86()
172 IN UINTN StackSize in InternalLegacyBiosFarCall() argument
262 if (Stack != NULL && StackSize != 0) { in InternalLegacyBiosFarCall()
266 Stack16 -= StackSize / sizeof (UINT16); in InternalLegacyBiosFarCall()
267 CopyMem (Stack16, Stack, StackSize); in InternalLegacyBiosFarCall()
302 if (Stack != NULL && StackSize != 0) { in InternalLegacyBiosFarCall()
306 CopyMem (Stack, Stack16, StackSize); in InternalLegacyBiosFarCall()
/device/linaro/bootloader/edk2/MdePkg/Library/SmmPeriodicSmiLib/
DSmmPeriodicSmiLib.c74 UINTN StackSize; member
322 EFI_SIZE_TO_PAGES (PeriodicSmiLibraryHandler->StackSize) in ReclaimPeriodicSmiLibraryHandler()
716 (UINT8 *)PeriodicSmiLibraryHandler->Stack + PeriodicSmiLibraryHandler->StackSize in PeriodicSmiDispatchFunctionOnCpu()
920 IN UINTN StackSize in PeriodicSmiEnable() argument
963 PeriodicSmiLibraryHandler->StackSize = ALIGN_VALUE (StackSize, EFI_PAGE_SIZE); in PeriodicSmiEnable()
964 if (PeriodicSmiLibraryHandler->StackSize > 0) { in PeriodicSmiEnable()
965 …miLibraryHandler->Stack = AllocatePages (EFI_SIZE_TO_PAGES (PeriodicSmiLibraryHandler->StackSize)); in PeriodicSmiEnable()
969 ZeroMem (PeriodicSmiLibraryHandler->Stack, PeriodicSmiLibraryHandler->StackSize); in PeriodicSmiEnable()
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/BaseFspPlatformInfoLibSample/
DFspPlatformInfoLibSample.c177 OUT UINT64 *StackSize, in GetStackInfo() argument
182 *StackSize = PcdGet32 (PcdTemporaryRamSize); in GetStackInfo()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Thunk16/
DX86Thunk.c269 IN UINTN StackSize in AsmThunk16SetUserStack() argument
272 if (StackSize > STACK_PARAM_SIZE) { in AsmThunk16SetUserStack()
276 …kContext->DefaultStack - sizeof(_STK16) - sizeof(IA32_REGS) - STACK_PARAM_SIZE), Stack, StackSize); in AsmThunk16SetUserStack()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Guid/Capsule/
DCapsule.h47 UINT64 StackSize; member
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Guid/
DCapsuleVendor.h60 UINT64 StackSize; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsuleRuntimeDxe/X64/
DSaveLongModeContext.c171 LongModeBuffer.StackSize = PcdGet32 (PcdCapsulePeiLongModeStackSize); in PrepareContextForCapsulePei()
196 … gBS->FreePages (LongModeBuffer.StackBaseAddress, EFI_SIZE_TO_PAGES (LongModeBuffer.StackSize)); in PrepareContextForCapsulePei()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/
DSmmCpuFeaturesLibNoStm.c81 IN UINTN StackSize, in SmmCpuFeaturesInstallSmiHandler() argument
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/LegacyBiosThunk/
DLegacyBiosThunk.h87 IN UINTN StackSize
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/
DAcpiCpuData.h107 UINT32 StackSize; member
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/Ia32/
DDxeLoadFunc.c72 IN UINTN StackSize in Create4GPageTablesIa32Pae() argument
118 if ((PhysicalAddress < StackBase + StackSize) && ((PhysicalAddress + SIZE_2MB) > StackBase)) { in Create4GPageTablesIa32Pae()
122 Split2MPageTo4K (PhysicalAddress, (UINT64 *) PageDirectoryEntry, StackBase, StackSize); in Create4GPageTablesIa32Pae()
/device/linaro/bootloader/edk2/UefiCpuPkg/SecCore/
DSecMain.c152 SecCoreData.StackSize = PeiStackSize; in SecStartup()
245 (UINT32) SecCoreData->StackSize in SecStartupPhase2()
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Include/Library/
DFspPlatformInfoLib.h151 OUT UINT64 *StackSize,
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DSmmPeriodicSmiLib.h158 IN UINTN StackSize
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspWrapperSecCore/
DSecMain.c129 SecCoreData.StackSize = PeiStackSize; in SecStartup()
138 DEBUG ((DEBUG_INFO, "StackSize - 0x%x\n", SecCoreData.StackSize)); in SecStartup()

123