/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/ |
D | SecTempRamSupport.c | 68 VOID* OldStack; in SecTemporaryRamSupport() local 98 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + CopySize - PeiStackSize); in SecTemporaryRamSupport() 102 DebugAgentContext.StackMigrateOffset = (UINTN)NewStack - (UINTN)OldStack; in SecTemporaryRamSupport() 120 CopyMem (NewStack, OldStack, PeiStackSize); in SecTemporaryRamSupport() 132 IdtDescriptor.Base = IdtDescriptor.Base - (UINTN)OldStack + (UINTN)NewStack; in SecTemporaryRamSupport() 147 (UINT32) (UINTN) OldStack, in SecTemporaryRamSupport()
|
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/ |
D | SecTempRamSupport.c | 68 VOID* OldStack; in SecTemporaryRamSupport() local 98 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + CopySize - PeiStackSize); in SecTemporaryRamSupport() 102 DebugAgentContext.StackMigrateOffset = (UINTN)NewStack - (UINTN)OldStack; in SecTemporaryRamSupport() 119 CopyMem (NewStack, OldStack, PeiStackSize); in SecTemporaryRamSupport() 131 IdtDescriptor.Base = IdtDescriptor.Base - (UINTN)OldStack + (UINTN)NewStack; in SecTemporaryRamSupport() 146 (UINT32) (UINTN) OldStack, in SecTemporaryRamSupport()
|
/device/linaro/bootloader/edk2/IntelFspPkg/Library/BaseFspSwitchStackLib/ |
D | FspSwitchStackLib.c | 35 UINT32 OldStack; in SwapStack() local 38 OldStack = FspData->CoreStack; in SwapStack() 40 return OldStack; in SwapStack()
|
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseFspSwitchStackLib/ |
D | FspSwitchStackLib.c | 35 UINT32 OldStack; in SwapStack() local 38 OldStack = FspData->CoreStack; in SwapStack() 40 return OldStack; in SwapStack()
|
/device/linaro/bootloader/edk2/IntelFspPkg/FspSecCore/ |
D | SecMain.c | 163 VOID* OldStack; in SecTemporaryRamSupport() local 169 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + CopySize / 2); in SecTemporaryRamSupport() 180 CopyMem (NewStack, OldStack, CopySize / 2); in SecTemporaryRamSupport() 192 IdtDescriptor.Base = IdtDescriptor.Base - (UINTN)OldStack + (UINTN)NewStack; in SecTemporaryRamSupport() 199 FspDataPointerFixUp ((UINTN)NewStack - (UINTN)OldStack); in SecTemporaryRamSupport() 207 (UINT32) (UINTN) OldStack, in SecTemporaryRamSupport()
|
/device/linaro/bootloader/edk2/IntelFsp2Pkg/FspSecCore/ |
D | SecMain.c | 173 VOID* OldStack; in SecTemporaryRamSupport() local 184 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + HeapSize); in SecTemporaryRamSupport() 195 CopyMem (NewStack, OldStack, StackSize); in SecTemporaryRamSupport() 207 IdtDescriptor.Base = IdtDescriptor.Base - (UINTN)OldStack + (UINTN)NewStack; in SecTemporaryRamSupport() 214 FspDataPointerFixUp ((UINTN)NewStack - (UINTN)OldStack); in SecTemporaryRamSupport() 222 (UINT32) (UINTN) OldStack, in SecTemporaryRamSupport()
|
/device/linaro/bootloader/edk2/CorebootModulePkg/SecCore/ |
D | SecMain.c | 208 VOID* OldStack; in SecTemporaryRamSupport() local 235 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + CopySize - PeiStackSize); in SecTemporaryRamSupport() 239 DebugAgentContext.StackMigrateOffset = (UINTN)NewStack - (UINTN)OldStack; in SecTemporaryRamSupport() 256 CopyMem (NewStack, OldStack, PeiStackSize); in SecTemporaryRamSupport() 268 IdtDescriptor.Base = IdtDescriptor.Base - (UINTN)OldStack + (UINTN)NewStack; in SecTemporaryRamSupport() 283 (UINT32) (UINTN) OldStack, in SecTemporaryRamSupport()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePeiCore/ |
D | PrePeiCore.c | 118 VOID *OldStack; in PrePeiCoreTemporaryRamSupport() local 127 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + HeapSize); in PrePeiCoreTemporaryRamSupport() 133 CopyMem (NewStack, OldStack, CopySize - HeapSize); in PrePeiCoreTemporaryRamSupport() 140 SecSwitchStack ((UINTN)NewStack - (UINTN)OldStack); in PrePeiCoreTemporaryRamSupport()
|
/device/linaro/bootloader/edk2/IntelFspPkg/Library/BaseFspCommonLib/ |
D | FspCommonLib.c | 195 UINT32 *OldStack; in SetFspCoreStackPointer() local 205 OldStack = (UINT32 *)FspData->CoreStack; in SetFspCoreStackPointer() 209 *NewStack++ = *OldStack++; in SetFspCoreStackPointer()
|
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseFspCommonLib/ |
D | FspCommonLib.c | 172 UINT32 *OldStack; in SetFspCoreStackPointer() local 182 OldStack = (UINT32 *)FspData->CoreStack; in SetFspCoreStackPointer() 186 *NewStack++ = *OldStack++; in SetFspCoreStackPointer()
|
/device/linaro/bootloader/edk2/OvmfPkg/Sec/ |
D | SecMain.c | 885 VOID *OldStack; in TemporaryRamMigration() local 901 OldStack = (VOID*)((UINTN)TemporaryMemoryBase + (CopySize >> 1)); in TemporaryRamMigration() 905 DebugAgentContext.StackMigrateOffset = (UINTN)NewStack - (UINTN)OldStack; in TemporaryRamMigration() 918 CopyMem (NewStack, OldStack, CopySize >> 1); in TemporaryRamMigration() 924 IdtDescriptor.Base = IdtDescriptor.Base - (UINTN)OldStack + (UINTN)NewStack; in TemporaryRamMigration()
|