removed the use of PalCallStatic and changed to PalCall

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4021 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vprabhal 2007-10-05 18:47:51 +00:00
parent e0337bfab8
commit 71c827cafe
2 changed files with 3 additions and 2 deletions

View File

@ -160,13 +160,13 @@ GetPerformanceCounterProperties (
*EndValue = (UINT64)(-1); *EndValue = (UINT64)(-1);
} }
PalRet = PalCallStatic (NULL, 13, 0, 0, 0); PalRet = PalCall (13, 0, 0, 0);
if (PalRet.Status != 0) { if (PalRet.Status != 0) {
return 1000000; return 1000000;
} }
BaseFrequence = PalRet.r9; BaseFrequence = PalRet.r9;
PalRet = PalCallStatic (NULL, 14, 0, 0, 0); PalRet = PalCall (14, 0, 0, 0);
if (PalRet.Status != 0) { if (PalRet.Status != 0) {
return 1000000; return 1000000;
} }

View File

@ -60,6 +60,7 @@
[LibraryClasses.IPF] [LibraryClasses.IPF]
DebugLib DebugLib
PalCallLib
[Pcd.IA32] [Pcd.IA32]