Hi all,
I'm fresh man for studying UEFI,and there are some questions ,is there anyone
can help,thanks!
as we know there is only on interrupt that is the timer,it works as the
heartbeat timer.but in X86 platform i can't find the timer interrupt handle
function. except bellow service CoreTimerTick,but there is a input parameter
Duration,never heard that interrupt service have input parameter,if yes, who
pass it in?
and there are my question:
1.in x86 platform what is the heartbeat,is it the leagcy 8254?
2.what is the interrupt vector number?
3.where is the IDT table exist in memery after the timer start ticking
4.what is the heartbeat service handle,and how it registered to the cpu's
interrupt verctor table.
thanks very much.
VOID
EFIAPI
CoreTimerTick (
IN UINT64 Duration
)
/*++
Routine Description:
Called by the platform code to process a tick.
Arguments: Duration - The number of 100ns elasped since the last call to
TimerTick
Returns: None
--*/
{
IEVENT *Event;
// Check runtiem flag in case there are ticks while exiting boot services
CoreAcquireLock (&mEfiSystemTimeLock);
// Update the system time
mEfiSystemTime += Duration;
// If the head of the list is expired, fire the timer event
// to process it
if (!IsListEmpty (&mEfiTimerList)) {
Event = CR (mEfiTimerList.ForwardLink, IEVENT, u.Timer.Link,
EVENT_SIGNATURE);
if (Event->u.Timer.TriggerTime <= mEfiSystemTime) {
CoreSignalEvent (mEfiCheckTimerEvent);
}
}
CoreReleaseLock (&mEfiSystemTimeLock);
}
2013-05-16
zzhh.happy
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel