3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 NT Emulation Architectural Protocol Driver as defined in Tiano.
19 This Timer module uses an NT Thread to simulate the timer-tick driven
31 // Include common header file for this module.
33 #include "CommonHeader.h"
36 // Legal timer value range in 100 ns units
38 #define TIMER_MINIMUM_VALUE 0
39 #define TIMER_MAXIMUM_VALUE (0x100000000 - 1)
42 // Default timer value in 100 ns units (10 ms)
44 #define DEFAULT_TIMER_TICK_DURATION 100000
47 // Function Prototypes
51 WinNtTimerDriverInitialize (
52 IN EFI_HANDLE ImageHandle
,
53 IN EFI_SYSTEM_TABLE
*SystemTable
59 TODO: Add function description
63 ImageHandle - TODO: add argument description
64 SystemTable - TODO: add argument description
68 TODO: add return values
75 WinNtTimerDriverRegisterHandler (
76 IN EFI_TIMER_ARCH_PROTOCOL
*This
,
77 IN EFI_TIMER_NOTIFY NotifyFunction
83 TODO: Add function description
87 This - TODO: add argument description
88 NotifyFunction - TODO: add argument description
92 TODO: add return values
99 WinNtTimerDriverSetTimerPeriod (
100 IN EFI_TIMER_ARCH_PROTOCOL
*This
,
101 IN UINT64 TimerPeriod
107 TODO: Add function description
111 This - TODO: add argument description
112 TimerPeriod - TODO: add argument description
116 TODO: add return values
123 WinNtTimerDriverGetTimerPeriod (
124 IN EFI_TIMER_ARCH_PROTOCOL
*This
,
125 OUT UINT64
*TimerPeriod
131 TODO: Add function description
135 This - TODO: add argument description
136 TimerPeriod - TODO: add argument description
140 TODO: add return values
147 WinNtTimerDriverGenerateSoftInterrupt (
148 IN EFI_TIMER_ARCH_PROTOCOL
*This
154 TODO: Add function description
158 This - TODO: add argument description
162 TODO: add return values