/* This function returns the FSP entry stack pointer from address of the first API parameter. */
VOID* EFIAPI GetFspEntryStack(VOID)
/* This function returns the FSP entry stack pointer from address of the first API parameter. */
VOID* EFIAPI GetFspEntryStack(VOID)
{
  FSP_GLOBAL_DATA  *FspData;
  FspData = GetFspGlobalDataPointer ();
  return (VOID *)(FspData->CoreStack + CONTEXT_STACK_OFFSET (ApiParam[0]));
}