blob: 9655864cce6b5a77eb0c0eae88ed63e7498332fb [file] [log] [blame]
Vishal Bhoj82c80712015-12-15 21:13:33 +05301/**@file
2
3Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
4This program and the accompanying materials
5are licensed and made available under the terms and conditions of the BSD License
6which accompanies this distribution. The full text of the license may be found at
7http://opensource.org/licenses/bsd-license.php
8
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12Module Name:
13
14 Metronome.h
15
16Abstract:
17
18 NT Emulation Metronome Architectural Protocol Driver as defined in DXE CIS
19
20**/
21
22#ifndef _NT_THUNK_METRONOME_H_
23#define _NT_THUNK_METRONOME_H_
24
25#include <Uefi.h>
26#include <WinNtDxe.h>
27#include <Protocol/Metronome.h>
28#include <Library/BaseLib.h>
29#include <Library/UefiDriverEntryPoint.h>
30#include <Library/WinNtLib.h>
31#include <Library/UefiBootServicesTableLib.h>
32
33
34//
35// Period of on tick in 100 nanosecond units
36//
37#define TICK_PERIOD 2000
38
39//
40// Function Prototypes
41//
42
43EFI_STATUS
44EFIAPI
45WinNtMetronomeDriverInitialize (
46 IN EFI_HANDLE ImageHandle,
47 IN EFI_SYSTEM_TABLE *SystemTable
48 )
49/*++
50
51Routine Description:
52
53 TODO: Add function description
54
55Arguments:
56
57 ImageHandle - TODO: add argument description
58 SystemTable - TODO: add argument description
59
60Returns:
61
62 TODO: add return values
63
64--*/
65;
66
67EFI_STATUS
68EFIAPI
69WinNtMetronomeDriverWaitForTick (
70 IN EFI_METRONOME_ARCH_PROTOCOL *This,
71 IN UINT32 TickNumber
72 )
73/*++
74
75Routine Description:
76
77 TODO: Add function description
78
79Arguments:
80
81 This - TODO: add argument description
82 TickNumber - TODO: add argument description
83
84Returns:
85
86 TODO: add return values
87
88--*/
89;
90
91#endif