Пример #1
0
/****************************************************************************
REMARKS:
Read the Long Period timer value from the smx timer tick.
****************************************************************************/
static ulong __ULZReadTime(void)
{
    ulong   ticks;
    LZ_disable();            /* Turn of interrupts               */
    ticks = etime;
    LZ_enable();             /* Turn on interrupts again         */
    return ticks;
}
Пример #2
0
/****************************************************************************
REMARKS:
Read the Long Period timer value from the BIOS timer tick.
****************************************************************************/
static ulong __ULZReadTime(void)
{
    ulong   ticks;
    LZ_disable();            /* Turn of interrupts               */
    ticks = PM_getLong(_ZTimerBIOSPtr+0x6C);
    LZ_enable();             /* Turn on interrupts again         */
    return ticks;
}