mirror of https://github.com/acidanthera/audk.git
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:
parent
e0337bfab8
commit
71c827cafe
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,6 +60,7 @@
|
||||||
|
|
||||||
[LibraryClasses.IPF]
|
[LibraryClasses.IPF]
|
||||||
DebugLib
|
DebugLib
|
||||||
|
PalCallLib
|
||||||
|
|
||||||
|
|
||||||
[Pcd.IA32]
|
[Pcd.IA32]
|
||||||
|
|
Loading…
Reference in New Issue