TianoCore EDK2 master
Loading...
Searching...
No Matches
SyncTimer.c File Reference
#include "PiSmmCpuCommon.h"

Go to the source code of this file.

Functions

VOID InitializeSmmTimer (VOID)
 
UINT64 EFIAPI StartSyncTimer (VOID)
 
BOOLEAN EFIAPI IsSyncTimerTimeout (IN UINT64 Timer, IN UINT64 Timeout)
 

Variables

UINT64 mTimeoutTicker = 0
 
UINT64 mTimeoutTicker2 = 0
 
UINT64 mCycle = 0
 
BOOLEAN mCountDown
 

Detailed Description

SMM Timer feature support

Copyright (c) 2009 - 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file SyncTimer.c.

Function Documentation

◆ InitializeSmmTimer()

VOID InitializeSmmTimer ( VOID  )

Initialize Timer for SMM AP Sync.

Definition at line 29 of file SyncTimer.c.

◆ IsSyncTimerTimeout()

BOOLEAN EFIAPI IsSyncTimerTimeout ( IN UINT64  Timer,
IN UINT64  Timeout 
)

Check if the SMM AP Sync Timer is timeout specified by Timeout.

Parameters
TimerThe start timer from the begin.
TimeoutThe timeout ticker to wait.

Definition at line 83 of file SyncTimer.c.

◆ StartSyncTimer()

UINT64 EFIAPI StartSyncTimer ( VOID  )

Start Timer for SMM AP Sync.

Definition at line 67 of file SyncTimer.c.

Variable Documentation

◆ mCountDown

BOOLEAN mCountDown

Definition at line 22 of file SyncTimer.c.

◆ mCycle

UINT64 mCycle = 0

Definition at line 18 of file SyncTimer.c.

◆ mTimeoutTicker

UINT64 mTimeoutTicker = 0

Definition at line 11 of file SyncTimer.c.

◆ mTimeoutTicker2

UINT64 mTimeoutTicker2 = 0

Definition at line 13 of file SyncTimer.c.