Commit Graph

7 Commits

Author SHA1 Message Date
xdu2 b9610b9cb5 Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to time in unit of nanoseconds.
Signed-off-by: xdu2
Reviewed-by: mdkinney

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12206 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 05:59:17 +00:00
lzeng14 50e610270c Fix GCC build error.
Signed-off-by: lzeng14

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12180 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-22 05:38:36 +00:00
lzeng14 4ae5165ce6 Allocate memory buffer to store TscFrequency, and InstallConfigurationTable with the pointer to this buffer.
Signed-off-by: lzeng14
Reviewed-by: lgao4


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12151 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-17 07:30:34 +00:00
lzeng14 a176509a7f Store and get TSC Frequency with system configuration Table.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11572 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-20 05:14:00 +00:00
ydong10 3a63a42554 Enhance inf to follow spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11394 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 08:47:08 +00:00
lzeng14 d66e9f0d04 Add comments for the two parameters of DxeTscTimerLibConstructor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11328 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-22 06:21:52 +00:00
lzeng14 d50f6f8be8 TscTimerLib in PerformancePkg is a BASE type library, which should be used by any module type.
But its constructor uses the global variable mTscFrequency to store frequency, which doesn't work on XIP PEIM.
Split it to two LIBs for PEI and DXE separately.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11312 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-15 02:02:06 +00:00