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