diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-27 15:37:52 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-27 15:37:52 +0000 |
commit | 53f32495953afac85b4c85c52dcf0595a4b1999e (patch) | |
tree | 3df8825d34231c62f047574482251bb9062cb836 /MdePkg/Library | |
parent | 7fedcf9d2ac7884c3c766cade7d6f4dae70fc496 (diff) | |
download | edk2-platforms-53f32495953afac85b4c85c52dcf0595a4b1999e.tar.xz |
Update SEC Platform Information PPI according to PI 1.2 errata A.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10118 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-rw-r--r-- | MdePkg/Library/PeiPalLib/PeiPalLib.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/MdePkg/Library/PeiPalLib/PeiPalLib.c b/MdePkg/Library/PeiPalLib/PeiPalLib.c index d0d9b3ddd3..f47ed35b9b 100644 --- a/MdePkg/Library/PeiPalLib/PeiPalLib.c +++ b/MdePkg/Library/PeiPalLib/PeiPalLib.c @@ -1,7 +1,7 @@ /** @file
PAL Call Services Function.
- Copyright (c) 2006 - 2008, Intel Corporation<BR>
+ Copyright (c) 2006 - 2010, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -57,13 +57,13 @@ PalCall ( IN UINT64 Arg4
)
{
- UINT64 PalCallAddress;
- PAL_CALL_RETURN ReturnVal;
- CONST EFI_PEI_SERVICES **PeiServices;
- EFI_STATUS Status;
- EFI_SEC_PLATFORM_INFORMATION_PPI *SecPlatformPpi;
- IPF_HANDOFF_STATUS IpfStatus;
- UINT64 RecordSize;
+ UINT64 PalCallAddress;
+ PAL_CALL_RETURN ReturnVal;
+ CONST EFI_PEI_SERVICES **PeiServices;
+ EFI_STATUS Status;
+ EFI_SEC_PLATFORM_INFORMATION_PPI *SecPlatformPpi;
+ EFI_SEC_PLATFORM_INFORMATION_RECORD SecPlatformInfoRecord;
+ UINT64 RecordSize;
//
// Get PEI Service Table Pointer
@@ -84,13 +84,13 @@ PalCall ( //
// Retrieve PAL call address from platform information reported by the PPI
//
- RecordSize = sizeof (IpfStatus);
+ RecordSize = sizeof (SecPlatformInfoRecord);
SecPlatformPpi->PlatformInformation (
PeiServices,
&RecordSize,
- (EFI_SEC_PLATFORM_INFORMATION_RECORD *) &IpfStatus
+ &SecPlatformInfoRecord
);
- PalCallAddress = IpfStatus.PalCallAddress;
+ PalCallAddress = SecPlatformInfoRecord.ItaniumHealthFlags.PalCallAddress;
ReturnVal = AsmPalCall (PalCallAddress, Index, Arg2, Arg3, Arg4);
|