/** @file\r
PAL Call Services Function.\r
\r
- Copyright (c) 2006 -2008, Intel Corporation All rights\r
- reserved. This program and the accompanying materials are\r
- licensed and made available under the terms and conditions of\r
- the BSD License which accompanies this distribution. The full\r
- text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
+ Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ This program and the accompanying materials \r
+ are licensed and made available under the terms and conditions of the BSD License \r
+ which accompanies this distribution. The full text of the license may be found at \r
+ http://opensource.org/licenses/bsd-license.php. \r
+\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+ \r
**/\r
\r
\r
IN UINT64 Arg4\r
)\r
{\r
- UINT64 PalCallAddress;\r
- PAL_CALL_RETURN ReturnVal;\r
- CONST EFI_PEI_SERVICES **PeiServices;\r
- EFI_STATUS Status;\r
- EFI_SEC_PLATFORM_INFORMATION_PPI *SecPlatformPpi;\r
- IPF_HANDOFF_STATUS IpfStatus;\r
- UINT64 RecordSize;\r
+ UINT64 PalCallAddress;\r
+ PAL_CALL_RETURN ReturnVal;\r
+ CONST EFI_PEI_SERVICES **PeiServices;\r
+ EFI_STATUS Status;\r
+ EFI_SEC_PLATFORM_INFORMATION_PPI *SecPlatformPpi;\r
+ EFI_SEC_PLATFORM_INFORMATION_RECORD SecPlatformInfoRecord;\r
+ UINT64 RecordSize;\r
\r
//\r
// Get PEI Service Table Pointer\r
//\r
// Retrieve PAL call address from platform information reported by the PPI\r
//\r
- RecordSize = sizeof (IpfStatus);\r
+ RecordSize = sizeof (SecPlatformInfoRecord);\r
SecPlatformPpi->PlatformInformation (\r
PeiServices,\r
&RecordSize,\r
- (EFI_SEC_PLATFORM_INFORMATION_RECORD *) &IpfStatus\r
+ &SecPlatformInfoRecord\r
);\r
- PalCallAddress = IpfStatus.PalCallAddress;\r
+ PalCallAddress = SecPlatformInfoRecord.ItaniumHealthFlags.PalCallAddress;\r
\r
ReturnVal = AsmPalCall (PalCallAddress, Index, Arg2, Arg3, Arg4);\r
\r